[SCM] invada-lv2/master: Added patch to pass flags correctly.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Wed Feb 26 22:26:32 UTC 2014


The following commit has been merged in the master branch:
commit 68dc6c2f75d4fa16902fc54ee6ef9e58fbdba04a
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Feb 26 23:26:17 2014 +0100

    Added patch to pass flags correctly.

diff --git a/debian/patches/0003-pass_flags.patch b/debian/patches/0003-pass_flags.patch
new file mode 100644
index 0000000..e0ae7b0
--- /dev/null
+++ b/debian/patches/0003-pass_flags.patch
@@ -0,0 +1,34 @@
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Description: Fix hardening. Flags are passed correctly now.
+Forwarded: no
+
+Index: invada-lv2/plugin/Makefile
+===================================================================
+--- invada-lv2.orig/plugin/Makefile	2014-02-26 23:20:11.578034102 +0100
++++ invada-lv2/plugin/Makefile	2014-02-26 23:20:11.566034457 +0100
+@@ -21,8 +21,8 @@
+ 
+ CC		=	gcc
+ LD		=	gcc
+-CFLAGS		=	-I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
+-LDFLAGS		=	-shared -Llibrary -lc -lm  -linv_common -fPIC -DPIC
++CFLAGS		+=	-I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
++LDFLAGS		+=	-shared -Llibrary -lc -lm  -linv_common -fPIC -DPIC
+ 
+ PLUGINS		=	inv_compressor.so \
+                         inv_delay.so \
+Index: invada-lv2/plugingui/Makefile
+===================================================================
+--- invada-lv2.orig/plugingui/Makefile	2013-06-05 05:44:25.510776816 +0200
++++ invada-lv2/plugingui/Makefile	2014-02-26 23:20:37.457269325 +0100
+@@ -21,8 +21,8 @@
+ 
+ CC		=	gcc
+ LD		=	gcc
+-CFLAGS		=	-I. `pkg-config --cflags cairo gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
+-LDFLAGS		=	-shared -Lwidgets -L../plugin/library -lc -lm -linv_widgets -linv_common `pkg-config --libs cairo gtk+-2.0` -fPIC -DPIC
++CFLAGS		+=	-I. `pkg-config --cflags cairo gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
++LDFLAGS		+=	-shared -Lwidgets -L../plugin/library -lc -lm -linv_widgets -linv_common `pkg-config --libs cairo gtk+-2.0` -fPIC -DPIC
+ 
+ 
+ GUIS		=	inv_compressor_gui.so \
diff --git a/debian/patches/series b/debian/patches/series
index 85e6499..441e304 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-find_lv2_ui_header.patch
 0002-fixed_wrong_graph_in_compressor_gui.patch
+0003-pass_flags.patch

-- 
invada-lv2 packaging



More information about the pkg-multimedia-commits mailing list