[nspluginwrapper] Rawhide build fix (pthread)
Martin Stransky
stransky at fedoraproject.org
Thu Oct 27 15:12:21 UTC 2011
commit bcb7a26dec0111bdbb09346cf901ab7017f014fc
Author: Martin Stransky <stransky at redhat.com>
Date: Thu Oct 27 17:12:17 2011 +0200
Rawhide build fix (pthread)
nspluginwrapper-pthread.patch | 12 ++++++++++++
nspluginwrapper.spec | 9 ++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/nspluginwrapper-pthread.patch b/nspluginwrapper-pthread.patch
new file mode 100644
index 0000000..4c468e3
--- /dev/null
+++ b/nspluginwrapper-pthread.patch
@@ -0,0 +1,12 @@
+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
+@@ -37,7 +37,7 @@ ifneq (,$(findstring $(OS),linux))
+ libdl_LIBS = -ldl
+ endif
+
+-libpthread_LIBS = -lpthread
++libpthread_LIBS = -lgthread
+ ifeq ($(OS),dragonfly)
+ libpthread_LDFLAGS = -pthread
+ endif
diff --git a/nspluginwrapper.spec b/nspluginwrapper.spec
index 8e34018..3da257c 100644
--- a/nspluginwrapper.spec
+++ b/nspluginwrapper.spec
@@ -75,7 +75,7 @@
Summary: A compatibility layer for Netscape 4 plugins
Name: nspluginwrapper
Version: 1.4.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Source0: http://gwenole.beauchesne.info/projects/nspluginwrapper/files/%{name}-%{version}%{?svndate:-%{svndate}}.tar.gz
Source1: %{plugin_config_name}.tar.gz
Source2: plugin-config.sh.in
@@ -85,6 +85,7 @@ Patch3: nspluginwrapper-1.3.0-directory.patch
Patch6: nspluginwrapper-1.3.0-compiz.patch
Patch7: nspluginwrapper-1.3.0-comp.patch
Patch9: nspluginwrapper-1.3.0-timeout.patch
+Patch10: nspluginwrapper-pthread.patch
Patch100: plugin-config-setuid.patch
Patch101: plugin-config-umask.patch
Patch102: plugin-config-print.patch
@@ -121,6 +122,9 @@ This package consists in:
%patch6 -p1 -b .compiz
%patch7 -p1 -b .comp
%patch9 -p1 -b .timeout
+%if 0%{?fedora} > 16
+%patch10 -p1 -b .pthread
+%endif
# Plugin-config patches
pushd %plugin_config_name
@@ -247,6 +251,9 @@ fi;
%changelog
+* Thu Oct 27 2011 Martin Stransky <stransky at redhat.com> 1.4.4-5
+- Rawhide build fix (pthread)
+
* Thu Oct 27 2011 Martin Stransky <stransky at redhat.com> 1.4.4-4
- Updated package description (#734056)
More information about the scm-commits
mailing list