[SCM] pd-iemutils/master: Refreshed patches

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Oct 27 16:35:11 UTC 2016


The following commit has been merged in the master branch:
commit 5e42a876b8713d18105f96becb4de1e681427600
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Oct 27 17:01:37 2016 +0200

    Refreshed patches

diff --git a/debian/patches/makefile.patch b/debian/patches/makefile.patch
index 0fea322..a1d3466 100644
--- a/debian/patches/makefile.patch
+++ b/debian/patches/makefile.patch
@@ -1,60 +1,11 @@
-Description: fixes for makefiles to allow adding CFLAGS
-Author: IOhannes zmölnig
-Last-Update: 2015-12-07
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- pd-iemutils.orig/iem_adaptfilt/src/makefile_lin
-+++ pd-iemutils/iem_adaptfilt/src/makefile_lin
-@@ -5,7 +5,7 @@
- INCLUDE = -I. -I/usr/local/src/pd/src
- 
- LDFLAGS = -export-dynamic -shared
--LIB = -ldl -lm -lpthread
-+LIB = 
- 
- #select either the DBG and OPT compiler flags below:
- 
-@@ -34,18 +34,15 @@
- #
- 
- clean:
--	rm ../../lib/$(TARGET)
--	rm *.o
-+	-rm -f ../../lib/$(TARGET) $(TARGET)
-+	-rm -f *.o
- 
- all: $(OBJ)
- 	@echo :: $(OBJ)
--	ld $(LDFLAGS) -o $(TARGET) *.o $(LIB)
--	strip --strip-unneeded $(TARGET)
--	rm *.o
-+	$(CC) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
- 
- $(OBJ) : %.o : %.c
--	touch $*.c
--	cc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
-+	$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
- 
- 
- 
 --- pd-iemutils.orig/Makefile
 +++ pd-iemutils/Makefile
-@@ -8,6 +8,9 @@
- version=0.0.$(shell date +%Y%m%d)
+@@ -10,7 +10,7 @@
  archivefile=$(library)-v$(version).tgz
  
-+CFLAGS=-DPD -fPIC
-+LDFLAGS=--export-dynamic -fPIC -shared
-+
+ IEM_CFLAGS=-DPD $(CPPFLAGS) -fPIC $(CFLAGS)
+-IEM_LDFLAGS=--export-dynamic -fPIC -shared $(LDFLAGS)
++IEM_LDFLAGS=-export-dynamic -fPIC -shared $(LDFLAGS)
+ 
  clean:
  	-find . -name "*.o" -delete
- 	-find . -name "*.pd_*" -delete
-@@ -28,7 +31,6 @@
- 
- iem_adaptfilt:
- 	make -C iem_adaptfilt/src -f makefile_lin \
--		CFLAGS="-DPD -fPIC" \
--		LDFLAGS="--export-dynamic -fPIC -shared"
-+		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
- iem_dp iem_roomsim iem_spec2 iem_tab:
- 	make -C $@/src -f makefile_linux

-- 
pd-iemutils packaging



More information about the pkg-multimedia-commits mailing list