[SCM] pd-iemnet/master: Pass hardening flags to build
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Thu Sep 3 19:45:46 UTC 2015
The following commit has been merged in the master branch:
commit a6d3514055e5432e2866a9cabb616a069c6fbefc
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Thu Sep 3 21:31:04 2015 +0200
Pass hardening flags to build
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..fbbf080
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,29 @@
+Description: allow passing of hardening flags to build systemo
+ upstream somehow ignores FLAGS passed as environment variables
+Author: IOhannes m zmölnig
+Forwarded: yes
+Last-Update: 2015-09-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pd-iemnet.orig/Makefile
++++ pd-iemnet/Makefile
+@@ -52,9 +52,7 @@
+ #------------------------------------------------------------------------------#
+
+ # these can be set from outside without (usually) breaking the build
+-CFLAGS = -Wall -Wno-unused -W -g
+-LDFLAGS =
+-LIBS =
++CFLAGS := -Wall -Wno-unused -W -g
+
+ # get library version from meta file
+ LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd)
+@@ -276,7 +274,7 @@
+ chmod a-x $@
+
+ $(SHARED_LIB): $(SHARED_SOURCES:.c=.o)
+- $(CC) $(SHARED_LDFLAGS) -o $@ $^ $(ALL_LIBS)
++ $(CC) $(SHARED_LDFLAGS) $(LDFLAGS) -o $@ $^ $(ALL_LIBS)
+
+ install: libdir_install
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..814900f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hardening.patch
--
pd-iemnet packaging
More information about the pkg-multimedia-commits
mailing list