[snapper] Boost.Thread DSO does not include -mt suffix anymore

Petr Machata pmachata at fedoraproject.org
Sat Jul 27 22:22:50 UTC 2013


commit dbcd79054896fc1288946f64c76b01f8701facd1
Author: Petr Machata <pmachata at redhat.com>
Date:   Sun Jul 28 00:22:31 2013 +0200

    Boost.Thread DSO does not include -mt suffix anymore

 snapper-boost-mt.patch |   14 ++++++++++++++
 snapper.spec           |    7 +++++--
 2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/snapper-boost-mt.patch b/snapper-boost-mt.patch
new file mode 100644
index 0000000..272470c
--- /dev/null
+++ b/snapper-boost-mt.patch
@@ -0,0 +1,14 @@
+diff -up snapper-0.1.3/snapper/Makefile.am\~ snapper-0.1.3/snapper/Makefile.am
+--- snapper-0.1.3/snapper/Makefile.am~	2013-04-26 12:21:53.000000000 +0200
++++ snapper-0.1.3/snapper/Makefile.am	2013-07-28 00:15:33.023069583 +0200
+@@ -54,7 +54,7 @@ endif
+ 
+ 
+ libsnapper_la_LDFLAGS = -version-info @LIBVERSION_INFO@
+-libsnapper_la_LIBADD = -lboost_thread-mt -lxml2 -lz -lm
++libsnapper_la_LIBADD = -lboost_thread -lxml2 -lz -lm
+ 
+ pkgincludedir = $(includedir)/snapper
+ 
+
+Diff finished.  Sun Jul 28 00:15:51 2013
diff --git a/snapper.spec b/snapper.spec
index d63f1fe..b5b0eee 100644
--- a/snapper.spec
+++ b/snapper.spec
@@ -16,6 +16,7 @@ Url:		http://en.opensuse.org/Portal:Snapper
 Source0:	%{name}-%{version}.tar.bz2
 patch0:		%{name}-remove-ext4-info.patch
 patch1:		%{name}-rename-cron-files.patch
+patch2:		%{name}-boost-mt.patch
 
 %description
 This package contains snapper, a tool for filesystem snapshot management.
@@ -43,6 +44,7 @@ snapper.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 aclocal
@@ -96,8 +98,9 @@ rm -f %{buildroot}/%{_libdir}/*.la
 %{_includedir}/%{name}
 
 %changelog
-* Sat Jul 27 2013 pmachata at redhat.com - 0.1.3-2.20130426git35ff4ec
-- Rebuild for boost 1.54.0
+* Sat Jul 27 2013 Petr Machata <pmachata at redhat.com> - 0.1.3-2.20130426git35ff4ec
+- rebuild for boost 1.54.0
+- Boost.Thread DSO does not include -mt suffix anymore (snapper-boost-mt.patch)
 
 * Fri Apr 26 2013 Ondrej Kozina <okozina at redhat.com> - 0.1.3-1.20130426git35ff4ec
 - fixed possible security vulnerability in extended attributes handling


More information about the scm-commits mailing list