summaryrefslogtreecommitdiff
path: root/network/wireshark/dumpcap_sel_ret.patch
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2011-12-08 19:08:28 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-08 19:08:28 -0200
commitec230da83c6ba84bb8a26c85facc5baa07947556 (patch)
treecd7210b335115aaea5fbc136a4450d7da783ff34 /network/wireshark/dumpcap_sel_ret.patch
parent8bba600469a7003741f85c0638f24345c17feb0e (diff)
downloadslackbuilds-ec230da83c6ba84bb8a26c85facc5baa07947556.tar.gz
network/wireshark: Updated for version 1.6.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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) {