rosegarden (1:10.04.2-1) linker-binutils-gold.patch

Summary

 Makefile.in |    3 +++
 1 file changed, 3 insertions(+)

    
download this patch

Patch contents

Description: explicitly link against used libraries for binutils-gold
 The rosegarden source makes use of symbols without directly linking to the
 libraries that provide these symbols. This causes an FTBFS with binutils-gold.
 .
 Missing symbols:
   src/document/GzipFile.o:
      gzopen, gzwrite, gzclose, gzgets, gzeof => -lz
   src/sound/DSSIPluginFactory.o:
      dlsym, dlopen, dlclose, dlerror         => -ldl
   src/gui/application/main.o:
      XGetErrorText                           => -lX11
Author: Stuart Prescott <stuart+debian@nanonanonano.net>
--- rosegarden.orig/Makefile.in
+++ rosegarden/Makefile.in
@@ -54,6 +54,9 @@
 		   @fftw3f_LIBS@ \
 		   @samplerate_LIBS@ \
 		   @sndfile_LIBS@ \
+		   -lz \
+		   -ldl \
+		   -lX11 \
 		   @LIBS@
 
 INSTBINDIR	:= $(DESTDIR)$(PREFIX)/bin