summaryrefslogtreecommitdiff
path: root/net/pxe/patches/patch-ab
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-09-30 09:32:06 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-09-30 09:32:06 +0000
commitfc46a11cc2e18da0d105aa79f928f5e314b3d0e0 (patch)
treebf838f2122cd3ad7e3cb23287780ac13d6c35673 /net/pxe/patches/patch-ab
parentbab6a6635383140af154515a02a50af06be46be7 (diff)
downloadpkgsrc-fc46a11cc2e18da0d105aa79f928f5e314b3d0e0.tar.gz
Updated to 1.4.
Patch provided by Adrian Portelli via PR pkg/22323 with some changes by me (GCC 3.x fixes) Changes: * Made the source ansi compliant and fixed namespace usage. * Made debuging a command line switch. * Converted code to use namespaces.
Diffstat (limited to 'net/pxe/patches/patch-ab')
-rw-r--r--net/pxe/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/pxe/patches/patch-ab b/net/pxe/patches/patch-ab
new file mode 100644
index 00000000000..52f65a2d08b
--- /dev/null
+++ b/net/pxe/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2003/09/30 09:32:06 xtraeme Exp $
+
+--- packetstore.cc.orig 2003-09-30 11:20:07.000000000 +0200
++++ packetstore.cc 2003-09-30 11:20:44.000000000 +0200
+@@ -26,9 +26,9 @@
+ /* some global variables */
+ const char *DHCP_types[DHCP_MAX_TYPES] =
+ {
+- {"INVALID"}, {"DHCPDISCOVER"}, {"DHCPOFFER"}, {"DHCPREQUEST"},
+- {"DHCPDECLINE"}, {"DHCPACK"}, {"DHCPNACK"}, {"DHCPRELEASE"},
+- {"DHCPINFORM"}
++ "INVALID", "DHCPDISCOVER", "DHCPOFFER", "DHCPREQUEST",
++ "DHCPDECLINE", "DHCPACK", "DHCPNACK", "DHCPRELEASE",
++ "DHCPINFORM"
+ };
+
+ /******************************************************************************