diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-29 22:36:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-29 22:36:21 +0000 |
commit | c9cab5855d65f809b543de570993fd24516c1110 (patch) | |
tree | fdd911b530315332df7ee8c49ababb80e2644ec7 /sys-apps/busybox/files | |
parent | old (diff) | |
download | historical-c9cab5855d65f809b543de570993fd24516c1110.tar.gz historical-c9cab5855d65f809b543de570993fd24516c1110.tar.bz2 historical-c9cab5855d65f809b543de570993fd24516c1110.zip |
Fix building with gcc-2.
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'sys-apps/busybox/files')
-rw-r--r-- | sys-apps/busybox/files/1.2.0/gcc2.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-apps/busybox/files/1.2.0/gcc2.patch b/sys-apps/busybox/files/1.2.0/gcc2.patch new file mode 100644 index 000000000000..37b223f77c71 --- /dev/null +++ b/sys-apps/busybox/files/1.2.0/gcc2.patch @@ -0,0 +1,19 @@ +--- networking/zcip.c ++++ networking/zcip.c +@@ -299,13 +301,13 @@ int zcip_main(int argc, char *argv[]) + struct timeval tv1; + struct arp_packet p; + ++ int source_ip_conflict = 0; ++ int target_ip_conflict = 0; ++ + fds[0].fd = fd; + fds[0].events = POLLIN; + fds[0].revents = 0; + +- int source_ip_conflict = 0; +- int target_ip_conflict = 0; +- + // poll, being ready to adjust current timeout + if (!timeout) { + timeout = ms_rdelay(PROBE_WAIT); |