aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-16 03:51:51 +0800
committeradamw <adamw@FreeBSD.org>2014-08-16 03:51:51 +0800
commitfaf4bb79451c290f865d30a4e209985cefebfab8 (patch)
treef3cd3b915bcd36a5b3fb58fcfebd8db66bb53b89 /net
parent0ee5d2dcbef3721b1e7ff08a5c7153d56dfb5c87 (diff)
downloadfreebsd-ports-gnome-faf4bb79451c290f865d30a4e209985cefebfab8.tar.gz
freebsd-ports-gnome-faf4bb79451c290f865d30a4e209985cefebfab8.tar.zst
freebsd-ports-gnome-faf4bb79451c290f865d30a4e209985cefebfab8.zip
Fix build.
Diffstat (limited to 'net')
-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*