summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-10-26 14:06:52 +0000
committertron <tron@pkgsrc.org>2008-10-26 14:06:52 +0000
commit08f18cdbdd8c9ebd4c99bc7daa4e02e780a5cf73 (patch)
treeda85119aa867cbee409c547865e4f74deb98a09f /net
parent185408954ad9fbe10b62e989db3b1f5fc667197b (diff)
downloadpkgsrc-08f18cdbdd8c9ebd4c99bc7daa4e02e780a5cf73.tar.gz
Fix build problem under NetBSD with the latest version of the
"glib2" package.
Diffstat (limited to 'net')
-rw-r--r--net/wireshark/distinfo3
-rw-r--r--net/wireshark/patches/patch-ac15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/wireshark/distinfo b/net/wireshark/distinfo
index 0f85d4acd4b..b89f2410204 100644
--- a/net/wireshark/distinfo
+++ b/net/wireshark/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.16 2008/10/22 06:50:23 tron Exp $
+$NetBSD: distinfo,v 1.17 2008/10/26 14:06:52 tron Exp $
SHA1 (wireshark-1.0.4.tar.bz2) = 8e75a6d909a1da803db77f6f86fdd5096e5bbac8
RMD160 (wireshark-1.0.4.tar.bz2) = 741b6618ba34b55079f15d5725a1e9a22a4fc351
Size (wireshark-1.0.4.tar.bz2) = 13126757 bytes
SHA1 (patch-aa) = c155f38e66a553b14778dc73344b46f8614eb9b0
SHA1 (patch-ab) = 5ae79916603f04c2d362c764d39f0c99728e716c
+SHA1 (patch-ac) = 4e985520ea4b118aea6fc001f256b5de96de7840
diff --git a/net/wireshark/patches/patch-ac b/net/wireshark/patches/patch-ac
new file mode 100644
index 00000000000..751df58e903
--- /dev/null
+++ b/net/wireshark/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2008/10/26 14:06:52 tron Exp $
+
+--- epan/dissectors/packet-mtp3.h.orig 2008-10-20 20:19:32.000000000 +0100
++++ epan/dissectors/packet-mtp3.h 2008-10-26 13:41:50.000000000 +0000
+@@ -46,6 +46,10 @@
+ guint8 ni;
+ } mtp3_addr_pc_t;
+
++#if defined(__NetBSD__) && defined(si_code)
++#undef si_code
++#endif
++
+ typedef struct _mtp3_tap_rec_t {
+ mtp3_addr_pc_t addr_opc;
+ mtp3_addr_pc_t addr_dpc;