summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-05-29 02:34:02 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-05-29 02:34:02 +0000
commitca191db5a5352071929d006dacbc1bcdfb5d0a11 (patch)
tree82eb889ecfa55c31362fc0f3a23d0c53e8a7aa6f /net-analyzer/honeyd/files
parentVersion bumped (development version). (diff)
downloadhistorical-ca191db5a5352071929d006dacbc1bcdfb5d0a11.tar.gz
historical-ca191db5a5352071929d006dacbc1bcdfb5d0a11.tar.bz2
historical-ca191db5a5352071929d006dacbc1bcdfb5d0a11.zip
Added patch so honeyd will build with gcc-4.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-analyzer/honeyd/files')
-rw-r--r--net-analyzer/honeyd/files/honeyd-1.0-gcc4.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-analyzer/honeyd/files/honeyd-1.0-gcc4.diff b/net-analyzer/honeyd/files/honeyd-1.0-gcc4.diff
new file mode 100644
index 000000000000..5d38ee980070
--- /dev/null
+++ b/net-analyzer/honeyd/files/honeyd-1.0-gcc4.diff
@@ -0,0 +1,23 @@
+diff --exclude='*~' --exclude='.*' -I '$Id:' -urN honeyd-1.0.orig/dhcpclient.c honeyd-1.0/dhcpclient.c
+--- honeyd-1.0.orig/dhcpclient.c 2005-05-28 22:22:21.000000000 -0400
++++ honeyd-1.0/dhcpclient.c 2005-05-28 22:25:10.000000000 -0400
+@@ -472,7 +472,8 @@
+
+ memset(buf, 0, sizeof(buf));
+
+- eth = (struct eth_hdr *)p = buf;
++ p = buf;
++ eth = (struct eth_hdr *)p;
+ eth_pack_hdr(eth, ETH_ADDR_BROADCAST, req->ea, ETH_TYPE_IP);
+
+ restlen -= ETH_HDR_LEN;
+@@ -524,7 +525,8 @@
+
+ memset(buf, 0, sizeof(buf));
+
+- eth = (struct eth_hdr *)p = buf;
++ p = buf;
++ eth = (struct eth_hdr *)p;
+ eth_pack_hdr(eth, req->server_ea, req->ea, ETH_TYPE_IP);
+
+ restlen -= ETH_HDR_LEN;