Hello

Pada 07/02/11 17:50, Steinar H. Gunderson menulis:
> On Mon, Feb 07, 2011 at 03:37:26PM +0700, Mahyuddin Susanto wrote:
>> I believe by adding some library we can fix this problem
> 
> Hi,
> 
> I think your patch got mangled. Do you think you could send it as an
> attachment instead?
> 
> /* Steinar */

Sure, apologize for not attached a patch. here is actual patch which
applied in Ubuntu and successfully build
http://launchpadlibrarian.net/63733414/amoeba_1.1-21_1.1-21ubuntu1.diff.gz

-- 
Mahyuddin Susanto (udienz)
https://launchpad.net/~udienz http://tripledin.wordpress.com/
diff -Nru amoeba-1.1/debian/patches/23-fix-ftbfs-binutils-gold.patch amoeba-1.1/debian/patches/23-fix-ftbfs-binutils-gold.patch
--- amoeba-1.1/debian/patches/23-fix-ftbfs-binutils-gold.patch	1970-01-01 07:00:00.000000000 +0700
+++ amoeba-1.1/debian/patches/23-fix-ftbfs-binutils-gold.patch	2011-02-07 15:30:53.000000000 +0700
@@ -0,0 +1,17 @@
+## Description: Fix FTBFS binutils-gold by adding dl lib to Makefile
+## Author: Mahyuddin Susanto <udi...@ubuntu.com>
+## Bug-Ubuntu:https://launchpad.net/bugs/714442
+## Bug-Debian: http://bugs.debian.org/556751
+Index: amoeba-1.1/Makefile
+===================================================================
+--- amoeba-1.1.orig/Makefile	2011-02-07 14:13:51.262786514 +0700
++++ amoeba-1.1/Makefile	2011-02-07 14:13:49.982303595 +0700
+@@ -72,7 +72,7 @@
+ ifeq ($(DESTPLATFORM),linux)
+ $(EXE): $(SUBLIBS) exception.o test-demolib.o 
+ #	$(CXX) $(LDFLAGS) -o test-demolib test-demolib.o exception.o $(SUBLIBS) -lm -lGL -lGLU /usr/lib/libexpat.a /usr/local/lib/tinylib/libpng.a /usr/local/lib/tinylib/libz.a -L/usr/X11R6/lib/ -lXxf86vm -lX11 -lXext /usr/local/lib/tinylib/libjpeg.a /usr/local/lib/tinylib/libfreetype.a /usr/local/lib/tinylib/libvorbisfile.a /usr/local/lib/tinylib/libvorbis.a /usr/local/lib/tinylib/libogg.a $(EXTRALIBS)
+-	$(CXX) $(LDFLAGS) -o $(EXE) test-demolib.o exception.o $(SUBLIBS) -lm -lGL -lGLU -lexpat -lpng -lz -L/usr/X11R6/lib/ -lXxf86vm -lX11 -ljpeg `freetype-config --libs` -lvorbisfile $(EXTRALIBS)
++	$(CXX) $(LDFLAGS) -o $(EXE) test-demolib.o exception.o $(SUBLIBS) -lm -lGL -lGLU -lexpat -lpng -lz -L/usr/X11R6/lib/ -lXxf86vm -lX11 -ljpeg `freetype-config --libs` -lvorbisfile $(EXTRALIBS) -ldl
+ else
+ %.o:  %.rc
+ 	$(WINDRES) $< $@
diff -Nru amoeba-1.1/debian/patches/series amoeba-1.1/debian/patches/series
--- amoeba-1.1/debian/patches/series	2010-05-06 07:18:48.000000000 +0700
+++ amoeba-1.1/debian/patches/series	2011-02-07 14:12:15.000000000 +0700
@@ -21,3 +21,4 @@
 21-dont-link-uselessly.diff
 22-tighten-up-non-const-chars.diff
 debian-changes-1.1-21
+23-fix-ftbfs-binutils-gold.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to