Package: dragonegg
Version: 3.1.0-1
Severity: whishlist
User: debian-...@lists.debian.org
Usertags: ld-as-needed

On ubuntu dragonegg is FTBFS because wrong order of the LDFLAGS.
This got fixed with the attached patch.

Could this be fixed in debian also?


Jean-Louis
diff -Nru dragonegg-2.8/debian/changelog dragonegg-2.8/debian/changelog
--- dragonegg-2.8/debian/changelog	2011-05-07 21:28:18.000000000 +0200
+++ dragonegg-2.8/debian/changelog	2011-07-15 11:27:36.000000000 +0200
@@ -1,3 +1,10 @@
+dragonegg (2.8-3ubuntu1) oneiric; urgency=low
+
+  * debian/patchess/fix_ldflags_order.diff: 
+    fix LDFLAGS order to fix FTBFS. (LP: #770819)
+
+ -- Jean-Louis Dupond <jean-lo...@dupond.be>  Fri, 15 Jul 2011 11:27:30 +0200
+
 dragonegg (2.8-3) unstable; urgency=low
 
   * Upload to unstable
diff -Nru dragonegg-2.8/debian/patches/fix_ldflags_order.diff dragonegg-2.8/debian/patches/fix_ldflags_order.diff
--- dragonegg-2.8/debian/patches/fix_ldflags_order.diff	1970-01-01 01:00:00.000000000 +0100
+++ dragonegg-2.8/debian/patches/fix_ldflags_order.diff	2011-07-15 11:24:50.000000000 +0200
@@ -0,0 +1,14 @@
+--- Makefile~	2010-10-11 19:35:18.000000000 +0200
++++ Makefile	2011-07-15 11:22:56.698001732 +0200
+@@ -71,8 +71,9 @@
+ 
+ $(TARGET_UTIL): $(TARGET_UTIL_OBJECTS)
+ 	@echo Linking $@
+-	$(QUIET)$(CXX) -o $@ $^ $(LD_OPTIONS) \
+-	$(shell $(LLVM_CONFIG) --libs support)
++	$(QUIET)$(CXX) -o $@ $^ \
++	$(shell $(LLVM_CONFIG) --libs support) \
++	$(LD_OPTIONS)
+ 
+ %.o : $(SRC_DIR)/%.c $(TARGET_UTIL)
+ 	@echo Compiling $*.c

Reply via email to