[packages/skype-call-recorder: 3/4] - add patch from gentoo to build withour cflags

glen glen at pld-linux.org
Fri Dec 7 20:33:44 CET 2012


commit fb12298beca4afe477634853a7d84b741338ec6b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 7 21:32:43 2012 +0200

    - add patch from gentoo to build withour cflags

 skype-call-recorder-0.8-cmake.patch | 19 +++++++++++++++++++
 skype-call-recorder.spec            |  2 ++
 2 files changed, 21 insertions(+)
---
diff --git a/skype-call-recorder.spec b/skype-call-recorder.spec
index f674aa0..5e34989 100644
--- a/skype-call-recorder.spec
+++ b/skype-call-recorder.spec
@@ -8,6 +8,7 @@ URL:		http://atdot.ch/scr/
 Source0:	http://atdot.ch/scr/files/0.8/%{name}-%{version}.tar.gz
 # Source0-md5:	937544a5245fdcfa50878d083dab706a
 Patch0:		libs.patch
+Patch1:		skype-call-recorder-0.8-cmake.patch
 BuildRequires:	QtCore-devel
 BuildRequires:	QtDBus-devel
 BuildRequires:	QtGui-devel
@@ -26,6 +27,7 @@ Vorbis or WAV files.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
diff --git a/skype-call-recorder-0.8-cmake.patch b/skype-call-recorder-0.8-cmake.patch
new file mode 100644
index 0000000..74989e0
--- /dev/null
+++ b/skype-call-recorder-0.8-cmake.patch
@@ -0,0 +1,19 @@
+diff -ruN skype-call-recorder-0.8/CMakeLists.txt my/CMakeLists.txt
+--- skype-call-recorder-0.8/CMakeLists.txt	2008-11-18 23:39:18.000000000 +0100
++++ my/CMakeLists.txt	2011-07-23 15:39:56.456877971 +0200
+@@ -5,14 +5,9 @@
+ PROJECT(skype-call-recorder)
+ SET(TARGET skype-call-recorder)
+ 
+-SET(CMAKE_BUILD_TYPE RELEASE)
+-#SET(CMAKE_BUILD_TYPE DEBUG)
+-
+ # compiler flags
+ 
+-SET(CMAKE_CXX_FLAGS "-Wall -W -pipe -fno-exceptions")
+-SET(CMAKE_CXX_FLAGS_DEBUG "-ggdb")
+-SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -s")
++SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -W -pipe -fno-exceptions")
+ 
+ # sources
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skype-call-recorder.git/commitdiff/1635fe93eb664ccb91d66632bd9c550997427083



More information about the pld-cvs-commit mailing list