[SCM] pd-cyclone/master: Patch to allow passing of extra FLAGS

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Mon Dec 9 16:46:46 UTC 2013


The following commit has been merged in the master branch:
commit 0c740d37908fd816571dba0695d43d4d715f4c01
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date:   Mon Dec 9 16:54:02 2013 +0100

    Patch to allow passing of extra FLAGS
    
    should make the FLAGS-logic in debian/rules much easier,
    AND should allow to set hardening linker flags for bin/cyclist

diff --git a/debian/patches/buildflags.patch b/debian/patches/buildflags.patch
new file mode 100644
index 0000000..d6b8971
--- /dev/null
+++ b/debian/patches/buildflags.patch
@@ -0,0 +1,25 @@
+Description: Allow to easily add CFLAGS/LDFLAGS
+Author: IOhannes m zmölnig
+Last-Update: 2013-12-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pd-cyclone.orig/Makefile.common
++++ pd-cyclone/Makefile.common
+@@ -125,7 +125,8 @@
+ endif
+ 
+ DBG_CFLAGS = 
+-CFLAGS = $(WARN_CFLAGS) $(OPT_CFLAGS) $(DEFINES) $(INCLUDES)
++CFLAGS = $(WARN_CFLAGS) $(OPT_CFLAGS) $(DEFINES) $(INCLUDES) $(EXTRA_CFLAGS)
++LFLAGS += $(EXTRA_LFLAGS)
+ 
+ EXTERNS = $(foreach fn,$(CX_NAMES:.c=.$(X_SUFFIX)),$(BIN_DIR)/$(fn)) \
+ 	$(foreach fn,$(AX_NAMES:.c=~.$(X_SUFFIX)),$(BIN_DIR)/$(fn)) \
+--- pd-cyclone.orig/cyclone/shadow/Makefile
++++ pd-cyclone/cyclone/shadow/Makefile
+@@ -4,4 +4,4 @@
+ 
+ $(ROOT_DIR)/bin/cyclist: $(SHARED_DIR)/common/binport.c \
+ 	$(SHARED_DIR)/common/lex.c $(SHARED_DIR)/unstable/standalone.c 
+-	$(CC) $(CFLAGS) -DMIXED_STANDALONE -o $@ $^
++	$(CC) $(CFLAGS) -DMIXED_STANDALONE $(EXTRA_LFLAGS) -o $@ $^
diff --git a/debian/patches/series b/debian/patches/series
index 64d7302..e7beab7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-hurd-and-kfreebsd
+buildflags.patch

-- 
pd-cyclone packaging



More information about the pkg-multimedia-commits mailing list