source:
scripts/patches/inetutils-1.4.2-gcc4_fixes-1.patch@
11fbfa9
Last change on this file since 11fbfa9 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.7 KB |
-
inetutils-1.4.2
# DIY Linux Patch Date: 2005-03-29 Author: Refer Description Origin: Refer Description Maker: Greg Schafer <gschafer@zip.com.au> Upstream Status: ftp changes submitted but not yet applied Description: Fix compilation with GCC4 http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/inetutils/libinetutils/ttymsg.c.diff?r1=1.14&r2=1.15&diff_format=u http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=300080 diff -Naur inetutils-1.4.2.orig/ftp/cmdtab.c inetutils-1.4.2/ftp/cmdtab.c
old new 109 109 char userhelp[] = "send new user information"; 110 110 char verbosehelp[] = "toggle verbose mode"; 111 111 112 struct cmd cmdtab[]= {112 struct cmd *cmdtab = { 113 113 { "!", shellhelp, 0, 0, 0, shell }, 114 114 { "$", domachelp, 1, 0, 0, domacro }, 115 115 { "account", accounthelp, 0, 1, 1, account}, -
inetutils-1.4.2
diff -Naur inetutils-1.4.2.orig/ftp/extern.h inetutils-1.4.2/ftp/extern.h
old new 137 137 138 138 extern jmp_buf abortprox; 139 139 extern int abrtflag; 140 extern struct cmd cmdtab[];140 extern struct cmd *cmdtab; 141 141 extern FILE *cout; 142 142 extern int data; 143 143 extern char *home; -
libinetutils/ttymsg.c
diff -Naur inetutils-1.4.2.orig/libinetutils/ttymsg.c inetutils-1.4.2/libinetutils/ttymsg.c
old new 132 132 } 133 133 if (wret) 134 134 { 135 (char *)iov->iov_base +=wret;135 iov->iov_base = (char *)iov->iov_base + wret; 136 136 iov->iov_len -= wret; 137 137 } 138 138 continue;
Note:
See TracBrowser
for help on using the repository browser.