summaryrefslogtreecommitdiff
path: root/www/nspluginwrapper
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-10-12 12:39:15 +0000
committerwiz <wiz@pkgsrc.org>2013-10-12 12:39:15 +0000
commit723295ec80b63bd06e9f4c900b695fedc1d8378a (patch)
tree093ae709d77b9b56c093468d03446778ef00d400 /www/nspluginwrapper
parentd530125380ca32e948e0d2a4c094516f7b885924 (diff)
downloadpkgsrc-723295ec80b63bd06e9f4c900b695fedc1d8378a.tar.gz
Link against libraries whose functions are used, don't depend on
them being pulled in by the linker.
Diffstat (limited to 'www/nspluginwrapper')
-rw-r--r--www/nspluginwrapper/distinfo3
-rw-r--r--www/nspluginwrapper/patches/patch-Makefile16
2 files changed, 18 insertions, 1 deletions
diff --git a/www/nspluginwrapper/distinfo b/www/nspluginwrapper/distinfo
index b2e63ce7109..89a8779d010 100644
--- a/www/nspluginwrapper/distinfo
+++ b/www/nspluginwrapper/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2012/05/03 06:09:55 wiz Exp $
+$NetBSD: distinfo,v 1.11 2013/10/12 12:39:15 wiz Exp $
SHA1 (nspluginwrapper-1.2.2.tar.bz2) = be581c39dcc1a8d9a5b3f81e4650f553a30cf249
RMD160 (nspluginwrapper-1.2.2.tar.bz2) = d5aa265966f87c51bb9ea4f2a079a87b74fdcbf3
@@ -6,6 +6,7 @@ Size (nspluginwrapper-1.2.2.tar.bz2) = 327947 bytes
SHA1 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 0d49757623c62da52292e48a0173024c14aa12cd
RMD160 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 9cf3e6ac3e5171c2bbda71c082b6b9fc30d69a84
Size (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 69425 bytes
+SHA1 (patch-Makefile) = 1bdcc3e90713b5aa08eda0efca4929a5903f1fbb
SHA1 (patch-aa) = 28f9e18e519337852cb47d04ed0c1cea76b3416d
SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a
SHA1 (patch-ac) = b42a1241abcbfc9344c810797785222cd79681ac
diff --git a/www/nspluginwrapper/patches/patch-Makefile b/www/nspluginwrapper/patches/patch-Makefile
new file mode 100644
index 00000000000..25f91ca011c
--- /dev/null
+++ b/www/nspluginwrapper/patches/patch-Makefile
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile,v 1.1 2013/10/12 12:39:15 wiz Exp $
+
+Link against libraries whose functions are used, don't depend on
+them being pulled in by the linker.
+
+--- Makefile.orig 2009-01-02 08:54:10.000000000 +0000
++++ Makefile
+@@ -148,7 +148,7 @@ npplayer_SOURCES = npw-player.c debug.c
+ npplayer_OBJECTS = $(npplayer_SOURCES:%.c=npplayer-%.o)
+ npplayer_CFLAGS = $(GTK_CFLAGS) $(MOZILLA_CFLAGS) $(CURL_CFLAGS) $(X_CFLAGS)
+ npplayer_LDFLAGS = $(GTK_LDFLAGS) $(CURL_LDFLAGS) $(X_LDFLAGS)
+-npplayer_LDFLAGS += -lgthread-2.0 $(libpthread_LDFLAGS) $(libsocket_LDFLAGS)
++npplayer_LDFLAGS += -lgthread-2.0 -lgmodule-2.0 $(libpthread_LDFLAGS) $(libsocket_LDFLAGS)
+
+ libxpcom_LIBRARY = libxpcom.so
+ libxpcom_RAWSRCS = libxpcom.c debug.c