diff options
author | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
commit | eefecc8813e0c062a2058b33209cb30830f824b6 (patch) | |
tree | f2dd237a65b4a8a3587da4cb6ac211ae6048911f /multilib/nspluginwrapper | |
parent | 3e2075427791725d8e6a007feba107d94c017caf (diff) |
Thu Jan 19 23:15:03 UTC 2012
Diffstat (limited to 'multilib/nspluginwrapper')
-rw-r--r-- | multilib/nspluginwrapper/PKGBUILD | 12 | ||||
-rw-r--r-- | multilib/nspluginwrapper/fix_missing_lib.patch | 11 |
2 files changed, 19 insertions, 4 deletions
diff --git a/multilib/nspluginwrapper/PKGBUILD b/multilib/nspluginwrapper/PKGBUILD index 7e9d8b5fe..d02b29590 100644 --- a/multilib/nspluginwrapper/PKGBUILD +++ b/multilib/nspluginwrapper/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 60061 2011-12-04 15:24:45Z bluewind $ +# $Id: PKGBUILD 62211 2012-01-18 10:47:40Z heftig $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=nspluginwrapper pkgver=1.4.4 -pkgrel=2 +pkgrel=2.1 pkgdesc="Cross-platform NPAPI compatible plugin viewer" arch=('i686' 'x86_64') url="http://nspluginwrapper.davidben.net/" @@ -15,8 +15,10 @@ depends=( ) makedepends=('gcc-multilib') install="install" -source=(http://nspluginwrapper.davidben.net/download/$pkgname-$pkgver.tar.gz) -md5sums=('36f3e290fc4ce56f65ee695078961188') +source=(http://nspluginwrapper.davidben.net/download/$pkgname-$pkgver.tar.gz + 'fix_missing_lib.patch') +md5sums=('36f3e290fc4ce56f65ee695078961188' + 'd40ad2f55d9989e04e3ef0cf4326b1df') if [[ $CARCH == i686 ]]; then # Strip lib32 etc. on i686 @@ -29,6 +31,8 @@ fi build() { cd "$srcdir/$pkgname-$pkgver" + patch -p0 -i "$srcdir/fix_missing_lib.patch" + configure_args="" if [[ $CARCH == x86_64 ]]; then configure_args="$configure_args --with-lib32=lib32 --with-lib64=lib" diff --git a/multilib/nspluginwrapper/fix_missing_lib.patch b/multilib/nspluginwrapper/fix_missing_lib.patch new file mode 100644 index 000000000..f239053f1 --- /dev/null +++ b/multilib/nspluginwrapper/fix_missing_lib.patch @@ -0,0 +1,11 @@ +--- Makefile 2012-01-15 13:25:28.922775770 +0100 ++++ Makefile.new 2012-01-15 13:25:09.185815643 +0100 +@@ -142,7 +142,7 @@ + npplayer_LDFLAGS = $(LDFLAGS) + npplayer_LDFLAGS += $(libpthread_LDFLAGS) + npplayer_LIBS = $(GTK_LIBS) $(GLIB_LIBS) $(CURL_LIBS) $(X_LIBS) +-npplayer_LIBS += $(libpthread_LIBS) $(libsocket_LIBS) ++npplayer_LIBS += $(libpthread_LIBS) $(libsocket_LIBS) -ldl + + libnoxshm_LIBRARY = libnoxshm.so + libnoxshm_RAWSRCS = libnoxshm.c |