mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
gcc-3.4 doesn't like empty labels in a switch statement...
svn path=/nixpkgs/trunk/; revision=1722
This commit is contained in:
parent
6cd30c57d0
commit
dbecea0365
119
pkgs/os-specific/linux/net-tools/gcc-34.patch
Normal file
119
pkgs/os-specific/linux/net-tools/gcc-34.patch
Normal file
@ -0,0 +1,119 @@
|
||||
Only in net-tools-1.60: arp
|
||||
Only in net-tools-1.60: arp.o
|
||||
Only in net-tools-1.60: hostname
|
||||
diff -rc net-tools-orig/hostname.c net-tools-1.60/hostname.c
|
||||
*** net-tools-orig/hostname.c 2001-04-08 19:04:23.000000000 +0200
|
||||
--- net-tools-1.60/hostname.c 2004-11-08 15:14:12.000000000 +0100
|
||||
***************
|
||||
*** 98,103 ****
|
||||
--- 98,104 ----
|
||||
fprintf(stderr, _("%s: name too long\n"), program_name);
|
||||
break;
|
||||
default:
|
||||
+ ;
|
||||
}
|
||||
exit(1);
|
||||
};
|
||||
***************
|
||||
*** 117,122 ****
|
||||
--- 118,124 ----
|
||||
fprintf(stderr, _("%s: name too long\n"), program_name);
|
||||
break;
|
||||
default:
|
||||
+ ;
|
||||
}
|
||||
exit(1);
|
||||
};
|
||||
***************
|
||||
*** 174,179 ****
|
||||
--- 176,182 ----
|
||||
printf("%s\n", hp->h_name);
|
||||
break;
|
||||
default:
|
||||
+ ;
|
||||
}
|
||||
}
|
||||
|
||||
Only in net-tools-1.60: hostname.o
|
||||
Only in net-tools-1.60: ifconfig
|
||||
Only in net-tools-1.60: ifconfig.o
|
||||
Only in net-tools-1.60/lib: activate.o
|
||||
Only in net-tools-1.60/lib: af.o
|
||||
Only in net-tools-1.60/lib: arcnet.o
|
||||
Only in net-tools-1.60/lib: ash.o
|
||||
Only in net-tools-1.60/lib: ax25_gr.o
|
||||
Only in net-tools-1.60/lib: ax25.o
|
||||
Only in net-tools-1.60/lib: ddp_gr.o
|
||||
Only in net-tools-1.60/lib: ddp.o
|
||||
Only in net-tools-1.60/lib: ec_hw.o
|
||||
Only in net-tools-1.60/lib: econet.o
|
||||
Only in net-tools-1.60/lib: ether.o
|
||||
Only in net-tools-1.60/lib: fddi.o
|
||||
Only in net-tools-1.60/lib: frame.o
|
||||
Only in net-tools-1.60/lib: getargs.o
|
||||
Only in net-tools-1.60/lib: getroute.o
|
||||
Only in net-tools-1.60/lib: hdlclapb.o
|
||||
Only in net-tools-1.60/lib: hippi.o
|
||||
Only in net-tools-1.60/lib: hw.o
|
||||
Only in net-tools-1.60/lib: inet6_gr.o
|
||||
Only in net-tools-1.60/lib: inet6.o
|
||||
Only in net-tools-1.60/lib: inet6_sr.o
|
||||
Only in net-tools-1.60/lib: inet_gr.o
|
||||
Only in net-tools-1.60/lib: inet.o
|
||||
diff -rc net-tools-orig/lib/inet_sr.c net-tools-1.60/lib/inet_sr.c
|
||||
*** net-tools-orig/lib/inet_sr.c 2000-02-20 22:46:45.000000000 +0100
|
||||
--- net-tools-1.60/lib/inet_sr.c 2004-11-08 15:09:33.000000000 +0100
|
||||
***************
|
||||
*** 105,110 ****
|
||||
--- 105,111 ----
|
||||
case 2:
|
||||
isnet = 0; break;
|
||||
default:
|
||||
+ ;
|
||||
}
|
||||
|
||||
/* Fill in the other fields. */
|
||||
Only in net-tools-1.60/lib: inet_sr.o
|
||||
Only in net-tools-1.60/lib: interface.o
|
||||
Only in net-tools-1.60/lib: ipx_gr.o
|
||||
Only in net-tools-1.60/lib: ipx.o
|
||||
Only in net-tools-1.60/lib: ipx_sr.o
|
||||
Only in net-tools-1.60/lib: irda.o
|
||||
Only in net-tools-1.60/lib: libnet-tools.a
|
||||
Only in net-tools-1.60/lib: loopback.o
|
||||
Only in net-tools-1.60/lib: masq_info.o
|
||||
Only in net-tools-1.60/lib: netrom_gr.o
|
||||
Only in net-tools-1.60/lib: netrom.o
|
||||
Only in net-tools-1.60/lib: netrom_sr.o
|
||||
Only in net-tools-1.60/lib: nstrcmp.o
|
||||
Only in net-tools-1.60/lib: ppp_ac.o
|
||||
Only in net-tools-1.60/lib: ppp.o
|
||||
Only in net-tools-1.60/lib: proc.o
|
||||
Only in net-tools-1.60/lib: rose_gr.o
|
||||
Only in net-tools-1.60/lib: rose.o
|
||||
Only in net-tools-1.60/lib: setroute.o
|
||||
Only in net-tools-1.60/lib: sit.o
|
||||
Only in net-tools-1.60/lib: slip_ac.o
|
||||
Only in net-tools-1.60/lib: slip.o
|
||||
Only in net-tools-1.60/lib: sockets.o
|
||||
Only in net-tools-1.60/lib: strip.o
|
||||
Only in net-tools-1.60/lib: tr.o
|
||||
Only in net-tools-1.60/lib: tunnel.o
|
||||
Only in net-tools-1.60/lib: unix.o
|
||||
Only in net-tools-1.60/lib: util.o
|
||||
Only in net-tools-1.60/lib: x25_gr.o
|
||||
Only in net-tools-1.60/lib: x25.o
|
||||
Only in net-tools-1.60/lib: x25_sr.o
|
||||
Only in net-tools-1.60: nameif
|
||||
Only in net-tools-1.60: nameif.o
|
||||
Only in net-tools-1.60: netstat
|
||||
Only in net-tools-1.60: netstat.o
|
||||
Only in net-tools-1.60: plipconfig
|
||||
Only in net-tools-1.60: plipconfig.o
|
||||
Only in net-tools-1.60: rarp
|
||||
Only in net-tools-1.60: rarp.o
|
||||
Only in net-tools-1.60: route
|
||||
Only in net-tools-1.60: route.o
|
||||
Only in net-tools-1.60: slattach
|
||||
Only in net-tools-1.60: slattach.o
|
||||
Only in net-tools-1.60: statistics.o
|
Loading…
Reference in New Issue
Block a user