aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2013-10-11 23:30:42 +0800
committermarcus <marcus@FreeBSD.org>2013-10-11 23:30:42 +0800
commit0428f1603d138010dcd51d2aec5260339eb99861 (patch)
tree4ca994bf843c54f319303ede59072ef0837c7ac6
parentd8921f1c11c845f0597f2d2bb413161f3899081e (diff)
downloadfreebsd-ports-gnome-0428f1603d138010dcd51d2aec5260339eb99861.tar.gz
freebsd-ports-gnome-0428f1603d138010dcd51d2aec5260339eb99861.tar.zst
freebsd-ports-gnome-0428f1603d138010dcd51d2aec5260339eb99861.zip
Fix the build on 10.X and HEAD.
Submitted by: Gustau PĂ©rez <gustau.perez@gmail.com>
-rw-r--r--net/wireshark/files/patch-epan_dissectors_packet-gluster.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/wireshark/files/patch-epan_dissectors_packet-gluster.h b/net/wireshark/files/patch-epan_dissectors_packet-gluster.h
new file mode 100644
index 000000000000..53101b021633
--- /dev/null
+++ b/net/wireshark/files/patch-epan_dissectors_packet-gluster.h
@@ -0,0 +1,19 @@
+--- epan/dissectors/packet-gluster.h.orig 2013-10-10 23:19:31.007195841 +0000
++++ epan/dissectors/packet-gluster.h 2013-10-10 23:20:32.550304872 +0000
+@@ -354,6 +354,8 @@
+ GFS3_OP_MAXVALUE
+ };
+
++# if !defined(__FreeBSD__)
++
+ /* dir-entry types from libglusterfs/src/compat.h */
+ enum gluster_entry_types {
+ DT_UNKNOWN = 0,
+@@ -367,6 +369,7 @@
+ DT_WHT = 14
+ };
+
++# endif
+
+ /* LOCKING operators come from libglusterfs/src/glusterfs.h */
+