mihkel pushed to qdigidoc (master). "Force linking to pthread (#1210036)"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat Apr 18 13:36:09 UTC 2015


>From 1d3066261971061792feab13a15a21be63b7d21b Mon Sep 17 00:00:00 2001
From: Mihkel Vain <mihkel at fedoraproject.org>
Date: Sat, 18 Apr 2015 16:36:02 +0300
Subject: Force linking to pthread (#1210036)


diff --git a/force_link_to_pthread.patch b/force_link_to_pthread.patch
new file mode 100644
index 0000000..607d1fb
--- /dev/null
+++ b/force_link_to_pthread.patch
@@ -0,0 +1,10 @@
+--- qdigidoc-3.10.0.orig/client/CMakeLists.txt	2015-01-27 08:43:48.000000000 +0200
++++ qdigidoc-3.10.0/client/CMakeLists.txt	2015-04-09 20:02:09.215607582 +0300
+@@ -132,6 +132,7 @@ target_link_libraries( ${PROGNAME}
+ 	${QT_LIBRARIES}
+ 	${LIBDIGIDOCPP_LIBRARY}
+ 	${ADDITIONAL_LIBRARIES}
++	pthread
+ )
+ add_manifest( ${PROGNAME} )
+ dump_syms( ${PROGNAME} )
diff --git a/qdigidoc.spec b/qdigidoc.spec
index c6d1695..07d18c7 100644
--- a/qdigidoc.spec
+++ b/qdigidoc.spec
@@ -1,11 +1,12 @@
 Name:           qdigidoc
 Version:        3.10.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Estonian digital signature application
 License:        LGPLv2+
 URL:            https://github.com/open-eid/qdigidoc
 Source0:        https://github.com/open-eid/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
 Source1:        EE.xml
+Patch0:         force_link_to_pthread.patch
 
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
@@ -40,6 +41,7 @@ nautilus file manager.
 
 %prep
 %setup -q
+%patch0 -p1
 
 cp %{S:1} client/
 
@@ -101,6 +103,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 %{_datadir}/nautilus-python/extensions/*
 
 %changelog
+* Thu Apr  9 2015 Mihkel Vain <mihkel at fedoraproject.org> - 3.10.0-2
+- Force linking to pthread (#1210036)
+
 * Sat Mar 28 2015 Mihkel Vain <mihkel at fedoraproject.org> - 3.10.0-1
 - New upstream release
 - Project moved to github
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/qdigidoc.git/commit/?h=master&id=1d3066261971061792feab13a15a21be63b7d21b


More information about the scm-commits mailing list