summaryrefslogtreecommitdiffstats
path: root/network/wireshark/dumpcap_sel_ret.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/wireshark/dumpcap_sel_ret.patch')
-rw-r--r--network/wireshark/dumpcap_sel_ret.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/wireshark/dumpcap_sel_ret.patch b/network/wireshark/dumpcap_sel_ret.patch
new file mode 100644
index 0000000000..ced4115ae8
--- /dev/null
+++ b/network/wireshark/dumpcap_sel_ret.patch
@@ -0,0 +1,13 @@
+diff -Naur /tmp/SBo/wireshark-1.6.4-orig//dumpcap.c wireshark-1.6.4//dumpcap.c
+--- /tmp/SBo/wireshark-1.6.4-orig//dumpcap.c 2011-11-18 19:14:44.000000000 +0000
++++ wireshark-1.6.4//dumpcap.c 2011-12-06 19:36:17.965368736 +0000
+@@ -2491,6 +2491,9 @@
+ #ifndef USE_THREADS
+ int sel_ret;
+ #endif
++#ifdef MUST_DO_SELECT
++ int sel_ret;
++#endif
+
+ packet_count_before = ld->packet_count;
+ if (ld->from_cap_pipe) {