[SCM] ir.lv2/master: Added patch to fix hardening for convert4chan binary

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Wed Sep 26 22:33:41 UTC 2012


The following commit has been merged in the master branch:
commit e8e4af7e65ba8bf1ded5a0d39832698b16a5da9d
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Sep 27 00:33:17 2012 +0200

    Added patch to fix hardening for convert4chan binary

diff --git a/debian/patches/03-fix_covert4chan_hardening.patch b/debian/patches/03-fix_covert4chan_hardening.patch
new file mode 100644
index 0000000..660bfc2
--- /dev/null
+++ b/debian/patches/03-fix_covert4chan_hardening.patch
@@ -0,0 +1,17 @@
+Description: Fix hardening for conver4chan binary
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: ir.lv2/Makefile
+===================================================================
+--- ir.lv2.orig/Makefile	2012-09-27 00:14:44.679979153 +0200
++++ ir.lv2/Makefile	2012-09-27 00:15:30.208204914 +0200
+@@ -21,7 +21,7 @@
+    CPPFLAGS += -D_HAVE_GTK_ATLEAST_2_20
+ endif
+ 
+-C4CFLAGS = -Wall -I. -I/usr/include `pkg-config --cflags gthread-2.0` -O2 -ffast-math
++C4CFLAGS = -Wall -I. -I/usr/include `pkg-config --cflags gthread-2.0` -D_FORTIFY_SOURCE=2 -O2 -ffast-math
+ C4LIBS = -lsndfile `pkg-config --libs gthread-2.0`
+ 
+ all: ir.so ir_gui.so
diff --git a/debian/patches/series b/debian/patches/series
index 55d3eb2..e1aae6c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-makefile.patch
 02-lv2_headers.patch
+03-fix_covert4chan_hardening.patch

-- 
ir.lv2 packaging



More information about the pkg-multimedia-commits mailing list