]> git.pld-linux.org Git - packages/skype-call-recorder.git/commitdiff
- add patch from gentoo to build withour cflags
authorElan Ruusamäe <glen@delfi.ee>
Fri, 7 Dec 2012 19:32:43 +0000 (21:32 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 7 Dec 2012 19:32:43 +0000 (21:32 +0200)
skype-call-recorder-0.8-cmake.patch [new file with mode: 0644]
skype-call-recorder.spec

diff --git a/skype-call-recorder-0.8-cmake.patch b/skype-call-recorder-0.8-cmake.patch
new file mode 100644 (file)
index 0000000..74989e0
--- /dev/null
@@ -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
index f674aa022dc89cc78bddbadf9375e93fce1a06fa..5e349898cad2401ff34bb418e2d617f0a3202cdc 100644 (file)
@@ -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
This page took 0.057729 seconds and 4 git commands to generate.