[SCM] ladspa-sdk packaging branch, master, updated. debian/1.1-6-26-ga9d740c

fsateler-guest at users.alioth.debian.org fsateler-guest at users.alioth.debian.org
Tue Nov 3 23:53:50 UTC 2009


The following commit has been merged in the master branch:
commit 935181f640c23ed1bbb745be2d33434c8325b1b3
Author: Felipe Sateler <fsateler at gmail.com>
Date:   Tue Nov 3 20:38:31 2009 -0300

    Fix linkage of C plugins

diff --git a/debian/patches/04_fix-linkage-C-plugins.diff b/debian/patches/04_fix-linkage-C-plugins.diff
new file mode 100644
index 0000000..5934f75
--- /dev/null
+++ b/debian/patches/04_fix-linkage-C-plugins.diff
@@ -0,0 +1,23 @@
+LD does not automatically insert needed libraries, we must specify them
+Index: ladspa-sdk/src/makefile
+===================================================================
+--- ladspa-sdk.orig/src/makefile	2009-11-03 20:36:21.000000000 -0300
++++ ladspa-sdk/src/makefile	2009-11-03 20:37:25.000000000 -0300
+@@ -14,7 +14,7 @@
+ #
+ 
+ INCLUDES	=	-I.
+-LIBRARIES	=	-ldl -lm
++LIBRARIES	=	-ldl -lm -lc
+ CFLAGS		=	$(INCLUDES) -Wall -Werror -O2 -fPIC
+ CXXFLAGS	=	$(CFLAGS)
+ PLUGINS		=	../plugins/amp.so				\
+@@ -35,7 +35,7 @@
+ 
+ ../plugins/%.so:	plugins/%.c ladspa.h
+ 	$(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c
+-	$(LD) -o ../plugins/$*.so plugins/$*.o -shared
++	$(LD) -o ../plugins/$*.so plugins/$*.o -shared $(LIBRARIES)
+ 
+ ../plugins/%.so:	plugins/%.cpp ladspa.h
+ 	$(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp
diff --git a/debian/patches/series b/debian/patches/series
index 6619d71..f83e43e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_no-mkdirhier.diff
 02_default-ladspa-path.diff
 03_m68k_workaround.diff
+04_fix-linkage-C-plugins.diff

-- 
ladspa-sdk packaging



More information about the pkg-multimedia-commits mailing list