source: scripts/patches/inetutils-1.4.2-gcc4_fixes-1.patch@ 0019206

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0019206 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
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  
    109109char    userhelp[] =    "send new user information";
    110110char    verbosehelp[] = "toggle verbose mode";
    111111
    112 struct cmd cmdtab[] = {
     112struct cmd *cmdtab = {
    113113        { "!",          shellhelp,      0,      0,      0,      shell },
    114114        { "$",          domachelp,      1,      0,      0,      domacro },
    115115        { "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  
    137137
    138138extern jmp_buf  abortprox;
    139139extern int      abrtflag;
    140 extern struct   cmd cmdtab[];
     140extern struct   cmd *cmdtab;
    141141extern FILE     *cout;
    142142extern int      data;
    143143extern char    *home;
  • libinetutils/ttymsg.c

    diff -Naur inetutils-1.4.2.orig/libinetutils/ttymsg.c inetutils-1.4.2/libinetutils/ttymsg.c
    old new  
    132132            }
    133133          if (wret)
    134134            {
    135               (char *)iov->iov_base += wret;
     135              iov->iov_base = (char *)iov->iov_base + wret;
    136136              iov->iov_len -= wret;
    137137            }
    138138          continue;
Note: See TracBrowser for help on using the repository browser.