tag 556349 + patch
user ubuntu-de...@lists.ubuntu.com
usertags 556349 + natty ubuntu-patch
thanks

In Ubuntu, we have successfully fixed this bug. we adding -lX11
-lboost_system in makefile and all works fine.

Relevant bug: https://launchpad.net/bugs/706777

#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_fix_ftbfs_binutils-gold.dpatch by Mahyuddin Susanto
<udi...@ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix FTBFS binutils-gold with ld --no-add-needed
## Bug-Ubuntu: https://launchpad.net/bugs/706777
## Bug-Debian: http://bugs.debian.org/556349

@DPATCH@
diff -Nurp smc-1.9/src/Makefile.in smc-1.9.ubuntu/src/Makefile.in
--- smc-1.9/src/Makefile.in     2009-08-17 23:00:49.000000000 +0700
+++ smc-1.9.ubuntu/src/Makefile.in      2011-01-24 11:14:32.530172208 +0700
@@ -78,7 +78,7 @@ am_smc_OBJECTS = audio.$(OBJEXT) random_
        font.$(OBJEXT) gl_surface.$(OBJEXT) img_manager.$(OBJEXT) \
        img_settings.$(OBJEXT) renderer.$(OBJEXT) video.$(OBJEXT)
 smc_OBJECTS = $(am_smc_OBJECTS)
-smc_LDADD = $(LDADD)
+smc_LDADD = $(LDADD) -lX11 -lboost_system
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles

-- 
Mahyuddin Susanto (udienz)
https://launchpad.net/~udienz http://tripledin.wordpress.com/
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_fix_ftbfs_binutils-gold.dpatch by Mahyuddin Susanto <udi...@ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix FTBFS binutils-gold with ld --no-add-needed
## Bug-Ubuntu: https://launchpad.net/bugs/706777
## Bug-Debian: http://bugs.debian.org/556349

@DPATCH@
diff -Nurp smc-1.9/src/Makefile.in smc-1.9.ubuntu/src/Makefile.in
--- smc-1.9/src/Makefile.in     2009-08-17 23:00:49.000000000 +0700
+++ smc-1.9.ubuntu/src/Makefile.in      2011-01-24 11:14:32.530172208 +0700
@@ -78,7 +78,7 @@ am_smc_OBJECTS = audio.$(OBJEXT) random_
        font.$(OBJEXT) gl_surface.$(OBJEXT) img_manager.$(OBJEXT) \
        img_settings.$(OBJEXT) renderer.$(OBJEXT) video.$(OBJEXT)
 smc_OBJECTS = $(am_smc_OBJECTS)
-smc_LDADD = $(LDADD)
+smc_LDADD = $(LDADD) -lX11 -lboost_system
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to