aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <tim@nsr500.net>2019-12-24 09:38:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-24 09:40:11 +0700
commit761db1767585e30d2d3854ab6359ce64092d0144 (patch)
treea6006bbb7195373fac9f6f314b1d80948da69ca6
parentf325135c33f66f87f1b22bece05f14859b5d46bb (diff)
network/wireshark: Add missing patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/wireshark/README1
-rw-r--r--network/wireshark/wireshark.SlackBuild2
-rw-r--r--network/wireshark/wireshark.patch10
3 files changed, 13 insertions, 0 deletions
diff --git a/network/wireshark/README b/network/wireshark/README
index 43e6e37efc3c2..7f0ebe2840b5a 100644
--- a/network/wireshark/README
+++ b/network/wireshark/README
@@ -48,6 +48,7 @@ Optional dependencies:
- snappy
- lz4
- libsmi
+- libminizip
NOTE: Wireshark 3.0 no longer support legacy GTK+ UI.
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index efe1f958954a9..8e1b7c49148aa 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -90,6 +90,8 @@ else
echo "=== Building with lua (v5.1)"
fi
+patch -p1 < $CWD/wireshark.patch
+
mkdir -p build
cd build
cmake \
diff --git a/network/wireshark/wireshark.patch b/network/wireshark/wireshark.patch
new file mode 100644
index 0000000000000..2d64c04fb19fd
--- /dev/null
+++ b/network/wireshark/wireshark.patch
@@ -0,0 +1,10 @@
+--- wireshark-3.2.0/sharkd_session.c.orig 2019-12-24 07:18:33.288976163 +0700
++++ wireshark-3.2.0/sharkd_session.c 2019-12-24 07:18:52.448168808 +0700
+@@ -16,6 +16,7 @@
+ #include <stdarg.h>
+ #include <string.h>
+ #include <errno.h>
++#include <stdint.h>
+
+ #include <glib.h>
+