[SCM] ir.lv2/master: Allow debugging.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sat Dec 17 11:57:29 UTC 2016
The following commit has been merged in the master branch:
commit 8cee800342fbd49a014e0a7c0d509d169aeb86ba
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sat Dec 17 12:31:59 2016 +0100
Allow debugging.
diff --git a/debian/patches/04-allow_debbug.patch b/debian/patches/04-allow_debbug.patch
new file mode 100644
index 0000000..3ad8e5f
--- /dev/null
+++ b/debian/patches/04-allow_debbug.patch
@@ -0,0 +1,17 @@
+Description: Allow debugging.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+
+Index: ir.lv2/Makefile
+===================================================================
+--- ir.lv2.orig/Makefile
++++ ir.lv2/Makefile
+@@ -10,7 +10,7 @@ INSTDIR = $(DESTDIR)$(PREFIX)/lib/lv2/ir
+ INST_FILES = ir.so ir_gui.so ir.ttl manifest.ttl
+
+ # change "-O2 -ffast-math" to "-g -O0" below if you want to debug the plugin
+-CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS -O2 -ffast-math
++CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS -g -O2 -ffast-math
+ LIBS += -lc -lm -lzita-convolver -lsamplerate -lsndfile `pkg-config --libs gthread-2.0` `pkg-config --libs gtk+-2.0`
+
+ ifeq ($(shell pkg-config --atleast-version='2.16' gtk+-2.0; echo $$?), 1)
diff --git a/debian/patches/series b/debian/patches/series
index e1aae6c..613da93 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
01-makefile.patch
02-lv2_headers.patch
03-fix_covert4chan_hardening.patch
+04-allow_debbug.patch
--
ir.lv2 packaging
More information about the pkg-multimedia-commits
mailing list