[SCM] drc/master: 03-as-needed.patch added

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Fri Nov 25 01:44:17 UTC 2011


The following commit has been merged in the master branch:
commit 61a4eccedda9b3ca107d856de961e20169dbb2c0
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Fri Nov 25 02:39:53 2011 +0100

    03-as-needed.patch added

diff --git a/debian/patches/03-as-needed.patch b/debian/patches/03-as-needed.patch
new file mode 100644
index 0000000..ff13a50
--- /dev/null
+++ b/debian/patches/03-as-needed.patch
@@ -0,0 +1,22 @@
+Description: fix FTBFS with ld --as-needed
+ Place libraries after source files in gcc invocations.
+Author: Ilya Barygin <randomaction at ubuntu.com>
+--- drc-3.1.1~dfsg0.orig/source/makefile
++++ drc-3.1.1~dfsg0/source/makefile
+@@ -73,13 +73,13 @@ BIN_TARGETS=drc lsconv glsweep
+ ALL: drc glsweep lsconv
+ 
+ drc: $(DRCSRC)
+-	$(CC) $(CFLAGS) -lm -lstdc++ -o drc $(DRCSRC)
++	$(CC) $(CFLAGS) -o drc $(DRCSRC) -lm -lstdc++
+ 
+ glsweep: $(GLSWEEPSRC)
+-	$(CC) $(GLSCFLAGS) -lm -o glsweep $(GLSWEEPSRC)
++	$(CC) $(GLSCFLAGS) -o glsweep $(GLSWEEPSRC) -lm
+ 	
+ lsconv: $(LSCONVSRC)
+-	$(CC) $(CFLAGS) -lm -o lsconv $(LSCONVSRC)
++	$(CC) $(CFLAGS) -o lsconv $(LSCONVSRC) -lm
+ 	
+ clean:
+ 	rm -f $(OBJS)
diff --git a/debian/patches/series b/debian/patches/series
index 89484bb..5b94b1b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+03-as-needed.patch
 02-spelling-errors.patch
 01-makefile.patch

-- 
drc packaging



More information about the pkg-multimedia-commits mailing list