aboutsummaryrefslogtreecommitdiff
path: root/net/udpxy
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-15 19:51:51 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-15 19:51:51 +0000
commit4595ee5a715814e318d756a62de40493e3096eb7 (patch)
treef3cd3b915bcd36a5b3fb58fcfebd8db66bb53b89 /net/udpxy
parentc987682a7773dd8f7fad72a7e96f45493f22e887 (diff)
downloadports-4595ee5a715814e318d756a62de40493e3096eb7.tar.gz
ports-4595ee5a715814e318d756a62de40493e3096eb7.zip
Notes
Diffstat (limited to 'net/udpxy')
-rw-r--r--net/udpxy/files/patch-dpkt.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/udpxy/files/patch-dpkt.c b/net/udpxy/files/patch-dpkt.c
new file mode 100644
index 000000000000..3ea64350fb3a
--- /dev/null
+++ b/net/udpxy/files/patch-dpkt.c
@@ -0,0 +1,12 @@
+--- dpkt.c.orig 2014-08-15 15:49:16.000000000 -0400
++++ dpkt.c 2014-08-15 15:49:34.000000000 -0400
+@@ -54,7 +54,9 @@
+ "UDPXY-UDS",
+ "RAW"
+ };
++#ifndef NDEBUG
+ static const int UPXDT_LEN = sizeof(upxfmt_NAME) / sizeof(upxfmt_NAME[0]);
++#endif
+
+
+ const char*