forwarded 616572 
https://sourceforge.net/tracker/?func=detail&aid=3403804&group_id=130915&atid=719368
tags 616572 +patch
thanks

Here's the patch we applied to address this in Ubuntu Oneiric

- Kyle Williams
diff -u kmflcomp-0.9.8/debian/changelog kmflcomp-0.9.8/debian/changelog
--- kmflcomp-0.9.8/debian/changelog
+++ kmflcomp-0.9.8/debian/changelog
@@ -1,3 +1,9 @@
+kmflcomp (0.9.8-1ubuntu1) oneiric; urgency=low
+
+  * Fix FTBFS with LD --as-needed LP: #771076
+
+ -- Kyle Williams <kwilli...@cs.uct.ac.za>  Sat, 03 Sep 2011 20:59:26 +0200
+
 kmflcomp (0.9.8-1) unstable; urgency=low
 
   * add Platform conditionals
only in patch2:
unchanged:
--- kmflcomp-0.9.8.orig/kmfl_compiler/Makefile.in
+++ kmflcomp-0.9.8/kmfl_compiler/Makefile.in
@@ -206,8 +206,8 @@
 kmflcomp_SOURCES = \
 	kmfl_compiler.c
 
-kmflcomp_LDFLAGS = -lX11 -L/usr/X11R6/lib
-kmflcomp_LDADD = ../src/.libs/libkmflcomp.a
+kmflcomp_LDFLAGS = -L/usr/X11R6/lib
+kmflcomp_LDADD = ../src/.libs/libkmflcomp.a -lX11
 all: all-am
 
 .SUFFIXES:
only in patch2:
unchanged:
--- kmflcomp-0.9.8.orig/kmfl_compiler/Makefile.am
+++ kmflcomp-0.9.8/kmfl_compiler/Makefile.am
@@ -16,6 +16,6 @@
 kmflcomp_SOURCES = \
 	kmfl_compiler.c
 
-kmflcomp_LDFLAGS = -lX11 -L/usr/X11R6/lib
+kmflcomp_LDFLAGS = -L/usr/X11R6/lib
 
-kmflcomp_LDADD = ../src/.libs/libkmflcomp.a
+kmflcomp_LDADD = ../src/.libs/libkmflcomp.a -lX11

Reply via email to