summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-09-24 17:33:50 +0000
committerkamil <kamil@pkgsrc.org>2019-09-24 17:33:50 +0000
commit14d5c44d3a9dd86110cfd09c5d8bffe56ed2f723 (patch)
tree3f2c30d1538f40819a4617544e0be21fd49da567 /www
parentbe32a8e0a9a97c3a31ecff11ee1d4a87b7cb7c66 (diff)
downloadpkgsrc-14d5c44d3a9dd86110cfd09c5d8bffe56ed2f723.tar.gz
nspluginwrapper: Link with -lgthread-2.0
Otherwise there is a missing symbol with at least g_thread_init.
Diffstat (limited to 'www')
-rw-r--r--www/nspluginwrapper/distinfo3
-rw-r--r--www/nspluginwrapper/patches/patch-configure17
2 files changed, 19 insertions, 1 deletions
diff --git a/www/nspluginwrapper/distinfo b/www/nspluginwrapper/distinfo
index ebc22b6a7ea..52566165bd2 100644
--- a/www/nspluginwrapper/distinfo
+++ b/www/nspluginwrapper/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2016/10/15 15:18:01 tsutsui Exp $
+$NetBSD: distinfo,v 1.16 2019/09/24 17:33:50 kamil Exp $
SHA1 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = cc093d1c6d6729434ec90e216afeae1601e0b3b4
RMD160 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = a9d79dcd31efc4b1a9b71e29694eff9c8555b10d
@@ -15,6 +15,7 @@ Size (nspluginwrapper-1.4.4.tar.gz) = 412513 bytes
SHA1 (patch-aa) = b39ff156d0a769e44140a713b8ffc2b50a8022d4
SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a
SHA1 (patch-ac) = 87cb838f6b203947d9efc4350313e410d06d486e
+SHA1 (patch-configure) = 136057f414322b59fd0230fa84c3339226a91c89
SHA1 (patch-src_npw-config-template.h) = 01af56f639ce88f7896fb733107bb4436cd299a5
SHA1 (patch-src_npw-player.c) = c054f19e7067aafee347e0398673345fe56ae12e
SHA1 (patch-src_npw-viewer.c) = eb8855ae6d1015eb7627ada5c39af5e0d80f0e75
diff --git a/www/nspluginwrapper/patches/patch-configure b/www/nspluginwrapper/patches/patch-configure
new file mode 100644
index 00000000000..753a1761861
--- /dev/null
+++ b/www/nspluginwrapper/patches/patch-configure
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure,v 1.1 2019/09/24 17:33:50 kamil Exp $
+
+Fix missing linking with -lgthread-2.0.
+
+--- configure.orig 2011-07-01 03:18:57.000000000 +0000
++++ configure
+@@ -499,8 +499,8 @@ fi
+
+ # check for Glib 2.0 compile CFLAGS
+ if $pkgconfig --exists glib-2.0; then
+- GLIB_CFLAGS=`$pkgconfig --cflags glib-2.0`
+- GLIB_LIBS=`$pkgconfig --libs glib-2.0`
++ GLIB_CFLAGS=`$pkgconfig --cflags glib-2.0 gthread-2.0`
++ GLIB_LIBS=`$pkgconfig --libs glib-2.0 gthread-2.0`
+ GLIB_VERSION=`$pkgconfig --modversion glib-2.0`
+ else
+ echo "GLIB 2.0 environment not found"