summaryrefslogtreecommitdiff
path: root/community/wireshark
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
committerroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
commit4525bb3909f233fd13dbfb43aa6ff4e64e8340d9 (patch)
treeadd2024759bc7a18fc8d7f4101dc5d5d9b3e1e44 /community/wireshark
parent058983fb5cb16dbb25368dd464cbcf27205b3f93 (diff)
Tue Nov 5 00:46:51 PST 2013
Diffstat (limited to 'community/wireshark')
-rw-r--r--community/wireshark/PKGBUILD18
-rw-r--r--community/wireshark/wireshark-1.10.3-gtk3.10-compile.patch12
2 files changed, 25 insertions, 5 deletions
diff --git a/community/wireshark/PKGBUILD b/community/wireshark/PKGBUILD
index 9c2d569de..35a985d8b 100644
--- a/community/wireshark/PKGBUILD
+++ b/community/wireshark/PKGBUILD
@@ -1,17 +1,25 @@
-# $Id: PKGBUILD 100017 2013-10-31 03:01:37Z allan $
-# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
+# $Id: PKGBUILD 100436 2013-11-04 11:50:09Z tredaelli $
+# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
+# Contributor: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
pkgname=('wireshark-cli' 'wireshark-gtk')
pkgbase=wireshark
-pkgver=1.10.2
+pkgver=1.10.3
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('gtk3' 'krb5' 'libpcap' 'bash' 'gnutls'
'lua' 'python' 'desktop-file-utils' 'hicolor-icon-theme')
url='http://www.wireshark.org/'
-source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2)
-sha256sums=('b7a83314424e13639c591de924aa240bc5f3d9cae01dde69bf858fa04b22a33d')
+source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2
+ wireshark-1.10.3-gtk3.10-compile.patch)
+sha256sums=('c1641b36aeb0ca2c1a95fb01d2c647888b65e00a215c9a6464b5fc61e0fd498c'
+ '45274cca58f0abdd3a560beb79a6f0bc8f35736426a1855ed048c9ad8e94f3c0')
+
+prepare() {
+ cd ${pkgbase}-${pkgver}
+ patch -p1 -i ${srcdir}/wireshark-1.10.3-gtk3.10-compile.patch
+}
build() {
cd ${pkgbase}-${pkgver}
diff --git a/community/wireshark/wireshark-1.10.3-gtk3.10-compile.patch b/community/wireshark/wireshark-1.10.3-gtk3.10-compile.patch
new file mode 100644
index 000000000..6dc50646f
--- /dev/null
+++ b/community/wireshark/wireshark-1.10.3-gtk3.10-compile.patch
@@ -0,0 +1,12 @@
+--- wireshark-1.10.3/configure.ac.orig 2013-11-04 10:39:14.101045626 +0000
++++ wireshark-1.10.3/configure.ac 2013-11-04 10:39:26.884300664 +0000
+@@ -1388,9 +1388,6 @@
+ # Don't use GLIB_CFLAGS
+ AM_PATH_GLIB_2_0($GLIB_MIN_VERSION, , AC_MSG_ERROR(GLib $GLIB_MIN_VERSION or later distribution not found.), gthread gmodule)
+
+- CPPFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CPPFLAGS"
+- CPPFLAGS="-DGDK_DISABLE_DEPRECATED $CPPFLAGS"
+- CPPFLAGS="-DGTK_DISABLE_DEPRECATED $CPPFLAGS"
+ CPPFLAGS="-DGTK_DISABLE_SINGLE_INCLUDES $CPPFLAGS"
+ if test ! \( $gtk_config_major_version -eq 2 -a $gtk_config_minor_version -lt 20 \) ; then
+ # Enable GSEAL when building with GTK > 2.20