[packages/pulseview] - fix linking with boost - rel 3

baggins baggins at pld-linux.org
Mon Feb 3 11:41:07 CET 2014


commit 424fac47e64d693d8b7f1405ebddaa1fc5dabcd6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Feb 3 11:40:53 2014 +0100

    - fix linking with boost
    - rel 3

 boost-link.patch | 11 +++++++++++
 pulseview.spec   |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/pulseview.spec b/pulseview.spec
index 934aac0..5737176 100644
--- a/pulseview.spec
+++ b/pulseview.spec
@@ -4,11 +4,12 @@
 Summary:	Qt based logic analyzer GUI for sigrok
 Name:		pulseview
 Version:	0.1.0
-Release:	2
+Release:	3
 License:	GPL
 Group:		X11/Applications/Graphics
 Source0:	http://www.sigrok.org/download/source/pulseview/%{name}-%{version}.tar.gz
 # Source0-md5:	0b462664854f4186c67ce1aae78b6d06
+Patch0:		boost-link.patch
 URL:		http://sigrok.org/wiki/PulseView
 BuildRequires:	boost-devel
 %{?with_tests:BuildRequires:	boost-test}
@@ -25,6 +26,7 @@ Qt based logic analyzer GUI for sigrok.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
diff --git a/boost-link.patch b/boost-link.patch
new file mode 100644
index 0000000..20e8622
--- /dev/null
+++ b/boost-link.patch
@@ -0,0 +1,11 @@
+--- pulseview-0.1.0/test/CMakeLists.txt~	2013-05-04 23:05:32.000000000 +0200
++++ pulseview-0.1.0/test/CMakeLists.txt	2014-02-03 11:38:35.814716407 +0100
+@@ -22,7 +22,7 @@
+ # This will set ${CMAKE_THREAD_LIBS_INIT} to the correct, OS-specific value.
+ find_package(Threads)
+ 
+-find_package(Boost 1.46 COMPONENTS unit_test_framework REQUIRED)
++find_package(Boost 1.46 COMPONENTS system unit_test_framework REQUIRED)
+ 
+ set(pulseview_TEST_SOURCES
+ 	${PROJECT_SOURCE_DIR}/pv/data/analogsnapshot.cpp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pulseview.git/commitdiff/424fac47e64d693d8b7f1405ebddaa1fc5dabcd6



More information about the pld-cvs-commit mailing list