[SCM] eq10q/master: Add patch to append debian flags correctly.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Thu Aug 25 14:48:22 UTC 2016


The following commit has been merged in the master branch:
commit 12d98178755c0cff84d1eaff16046fe8136926fb
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Aug 25 16:48:13 2016 +0200

    Add patch to append debian flags correctly.

diff --git a/debian/patches/02-remove_sse_flags.patch b/debian/patches/03-fix_flags.patch
similarity index 57%
copy from debian/patches/02-remove_sse_flags.patch
copy to debian/patches/03-fix_flags.patch
index 32ab515..d80ac2b 100644
--- a/debian/patches/02-remove_sse_flags.patch
+++ b/debian/patches/03-fix_flags.patch
@@ -1,4 +1,4 @@
-Description:  Remove sse optimization.
+Description:  Let debian append flags.
 Author: Jaromír Mikeš <mira.mikes at seznam.cz>
 Forwarded: no
 
@@ -6,12 +6,16 @@ Index: eq10q/CMakeLists.txt
 ===================================================================
 --- eq10q.orig/CMakeLists.txt
 +++ eq10q/CMakeLists.txt
-@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8)
+@@ -3,10 +3,10 @@ cmake_minimum_required(VERSION 2.8)
  PROJECT(eq10q)
  
  ##ADD_DEFINITIONS(-Wall -O3 -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99)
--set(CMAKE_C_FLAGS "-Wall -O3 -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99")
-+set(CMAKE_C_FLAGS "-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -std=c99")
+-set(CMAKE_C_FLAGS "-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -std=c99")
++add_definitions(-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -std=c99)
  #set(CMAKE_C_FLAGS "-Wall -O0 -g -fPIC -finline-functions -finline-functions-called-once  -msse -mfpmath=sse -std=c99")
  
- set(CMAKE_CXX_FLAGS "-Wall -fPIC -std=c++11")
+-set(CMAKE_CXX_FLAGS "-Wall -fPIC -std=c++11")
++add_definitions(-Wall -fPIC -std=c++11)
+ #set(CMAKE_CXX_FLAGS "-Wall -O0 -g -fPIC -DPIC -std=c++11") ##Debuging GUI
+ 
+ ##ADD_DEFINITIONS(-Wall -O0 -g -fPIC -DPIC) ###USED FOR DEBUG
diff --git a/debian/patches/series b/debian/patches/series
index 81341e8..4403ddd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-fix_prexix.patch
 02-remove_sse_flags.patch
+03-fix_flags.patch

-- 
eq10q packaging



More information about the pkg-multimedia-commits mailing list