Sat Oct 12 12:39:15 2013 UTC ()
Link against libraries whose functions are used, don't depend on
them being pulled in by the linker.


(wiz)
diff -r1.10 -r1.11 pkgsrc/www/nspluginwrapper/distinfo
diff -r0 -r1.1 pkgsrc/www/nspluginwrapper/patches/patch-Makefile

cvs diff -r1.10 -r1.11 pkgsrc/www/nspluginwrapper/distinfo (expand / switch to unified diff)

--- pkgsrc/www/nspluginwrapper/distinfo 2012/05/03 06:09:55 1.10
+++ pkgsrc/www/nspluginwrapper/distinfo 2013/10/12 12:39:15 1.11
@@ -1,12 +1,13 @@ @@ -1,12 +1,13 @@
1$NetBSD: distinfo,v 1.10 2012/05/03 06:09:55 wiz Exp $ 1$NetBSD: distinfo,v 1.11 2013/10/12 12:39:15 wiz Exp $
2 2
3SHA1 (nspluginwrapper-1.2.2.tar.bz2) = be581c39dcc1a8d9a5b3f81e4650f553a30cf249 3SHA1 (nspluginwrapper-1.2.2.tar.bz2) = be581c39dcc1a8d9a5b3f81e4650f553a30cf249
4RMD160 (nspluginwrapper-1.2.2.tar.bz2) = d5aa265966f87c51bb9ea4f2a079a87b74fdcbf3 4RMD160 (nspluginwrapper-1.2.2.tar.bz2) = d5aa265966f87c51bb9ea4f2a079a87b74fdcbf3
5Size (nspluginwrapper-1.2.2.tar.bz2) = 327947 bytes 5Size (nspluginwrapper-1.2.2.tar.bz2) = 327947 bytes
6SHA1 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 0d49757623c62da52292e48a0173024c14aa12cd 6SHA1 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 0d49757623c62da52292e48a0173024c14aa12cd
7RMD160 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 9cf3e6ac3e5171c2bbda71c082b6b9fc30d69a84 7RMD160 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 9cf3e6ac3e5171c2bbda71c082b6b9fc30d69a84
8Size (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 69425 bytes 8Size (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 69425 bytes
 9SHA1 (patch-Makefile) = 1bdcc3e90713b5aa08eda0efca4929a5903f1fbb
9SHA1 (patch-aa) = 28f9e18e519337852cb47d04ed0c1cea76b3416d 10SHA1 (patch-aa) = 28f9e18e519337852cb47d04ed0c1cea76b3416d
10SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a 11SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a
11SHA1 (patch-ac) = b42a1241abcbfc9344c810797785222cd79681ac 12SHA1 (patch-ac) = b42a1241abcbfc9344c810797785222cd79681ac
12SHA1 (patch-src_npw-player.c) = 14828d0644ce3823b89b373b36afdf29f9a563a1 13SHA1 (patch-src_npw-player.c) = 14828d0644ce3823b89b373b36afdf29f9a563a1

File Added: pkgsrc/www/nspluginwrapper/patches/Attic/patch-Makefile
$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