[nspluginwrapper] Rawhide build fix (pthread)
Martin Stransky
stransky at fedoraproject.org
Thu Oct 27 15:46:23 UTC 2011
commit fe5f2eb9037e144deb063cbed2f07051407403ff
Author: Martin Stransky <stransky at redhat.com>
Date: Thu Oct 27 17:46:18 2011 +0200
Rawhide build fix (pthread)
nspluginwrapper-pthread.patch | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/nspluginwrapper-pthread.patch b/nspluginwrapper-pthread.patch
index f5d5da2..a44aaaf 100644
--- a/nspluginwrapper-pthread.patch
+++ b/nspluginwrapper-pthread.patch
@@ -1,12 +1,27 @@
diff -up nspluginwrapper-1.4.4/Makefile.pthread nspluginwrapper-1.4.4/Makefile
---- nspluginwrapper-1.4.4/Makefile.pthread 2011-10-27 17:05:01.000000000 +0200
-+++ nspluginwrapper-1.4.4/Makefile 2011-10-27 17:07:04.414233946 +0200
+--- nspluginwrapper-1.4.4/Makefile.pthread 2011-10-27 17:11:08.048040662 +0200
++++ nspluginwrapper-1.4.4/Makefile 2011-10-27 17:11:08.057040729 +0200
@@ -37,7 +37,7 @@ ifneq (,$(findstring $(OS),linux))
libdl_LIBS = -ldl
endif
-libpthread_LIBS = -lpthread
-+libpthread_LIBS = -lgthread-2.0
++libpthread_LIBS = -lgthread
ifeq ($(OS),dragonfly)
libpthread_LDFLAGS = -pthread
endif
+diff -up nspluginwrapper-1.4.4/src/npw-player.c.pthread nspluginwrapper-1.4.4/src/npw-player.c
+--- nspluginwrapper-1.4.4/src/npw-player.c.pthread 2011-07-01 05:18:57.000000000 +0200
++++ nspluginwrapper-1.4.4/src/npw-player.c 2011-10-27 17:45:55.963760487 +0200
+@@ -25,10 +25,10 @@
+ #include <unistd.h>
+ #include <glib.h>
+ #include <glib/gstdio.h>
+-#include <glib/gthread.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkx.h>
+ #include <gdk/gdkkeysyms.h>
++#include <pthread.h>
+
+ #include "rpc.h"
+ #include "utils.h"
More information about the scm-commits
mailing list