Package: smc
Version: 1.9-4
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  * Update 02_binutils-gold.patch to properly use LDADD. Fixes FTBFS.
    (LP: #852589)


As seen at https://bugs.launchpad.net/ubuntu/+source/qhull/+bug/852587,
the build fails on all arches shipping Ubuntu. Thanks for considering
the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-11-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru smc-1.9/debian/patches/02_binutils-gold.patch smc-1.9/debian/patches/02_binutils-gold.patch
--- smc-1.9/debian/patches/02_binutils-gold.patch	2011-08-03 15:18:17.000000000 -0400
+++ smc-1.9/debian/patches/02_binutils-gold.patch	2011-09-18 22:03:03.000000000 -0400
@@ -1,13 +1,13 @@
 Index: smc-1.9/src/Makefile.in
 ===================================================================
---- smc-1.9.orig/src/Makefile.in	2011-08-03 21:17:38.079707045 +0200
-+++ smc-1.9/src/Makefile.in	2011-08-03 21:18:13.391707357 +0200
+--- smc-1.9.orig/src/Makefile.in	2011-09-18 22:02:04.000000000 -0400
++++ smc-1.9/src/Makefile.in	2011-09-18 22:03:01.000000000 -0400
 @@ -78,7 +78,7 @@
  	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)
++smc_LDADD = $(LDADD) -lX11 -lboost_system
  DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  depcomp = $(SHELL) $(top_srcdir)/depcomp
  am__depfiles_maybe = depfiles

Reply via email to