[SCM] pd-iem_ambi/master: link against libc

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Fri Apr 15 16:24:15 UTC 2011


The following commit has been merged in the master branch:
commit 29cf9e822bf8477dc526dd347386e8ae8e02af70
Author: IOhannes m zmölnig <zmoelnig at umlaeute.mur.at>
Date:   Fri Apr 15 18:03:32 2011 +0200

    link against libc

diff --git a/debian/patches/link-with-libc.patch b/debian/patches/link-with-libc.patch
new file mode 100644
index 0000000..1b851a7
--- /dev/null
+++ b/debian/patches/link-with-libc.patch
@@ -0,0 +1,24 @@
+Author: IOhannes m zmölnig
+Description: link against libc (keeps lintian happy)
+--- pd-iem_ambi.orig/src/makefile_linux
++++ pd-iem_ambi/src/makefile_linux
+@@ -5,8 +5,8 @@
+ PDSOURCE?=/usr/local/src/pd/src
+ PD_INCLUDE = -I. -I$(PDSOURCE)
+ 
+-PD_LDFLAGS = -export-dynamic -shared
+-LIB = -lm
++PD_LDFLAGS = -Wl,--export-dynamic -shared -fPIC
++LIB = -lc -lm
+ 
+ #select either the DBG and OPT compiler flags below:
+ 
+@@ -44,7 +44,7 @@
+ 
+ all: $(OBJ)
+ 	@echo :: $(OBJ)
+-	$(LD) $(PD_LDFLAGS) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
++	$(CC) $(PD_LDFLAGS) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
+ 	mv $(TARGET) ..
+ 
+ $(OBJ) : %.o : %.c
diff --git a/debian/patches/series b/debian/patches/series
index 9893855..44db1b1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-makefile.patch
 helppatches.patch
 include_endian_h.patch
+link-with-libc.patch

-- 
pd-iem_ambi packaging



More information about the pkg-multimedia-commits mailing list