tag 609650 + patch
severity 609650 important
user ubuntu-de...@lists.ubuntu.com
usertags 609650 + natty ubuntu-patch
thanks

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

  * fix FTBFS with binutils-gold by adding -lX11 to
    Makefile.in and Makefile.am files (LP: #700449)


Thanks for considering the patch.
An origin pathes can be found at
http://launchpadlibrarian.net/62017580/gpe-what_0.43-3ubuntu1.dsc.debdiff

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500,
'lucid-backports'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-10-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

-- 
Mahyuddin Susanto (udienz)
Electrical Engineering students

diff -Nru gpe-what-0.43/debian/patches/fix_ftbfs_binutils-gold.diff gpe-what-0.43/debian/patches/fix_ftbfs_binutils-gold.diff
--- gpe-what-0.43/debian/patches/fix_ftbfs_binutils-gold.diff	1970-01-01 07:00:00.000000000 +0700
+++ gpe-what-0.43/debian/patches/fix_ftbfs_binutils-gold.diff	2011-01-09 03:44:01.000000000 +0700
@@ -0,0 +1,26 @@
+Description: Fix ftbfs with binutils-gold
+Author: Mahyuddin Susanto <udi...@gmail.com>
+Bug-Ubuntu: https://launchpad.net/bugs/700449
+
+--- gpe-what-0.43.orig/Makefile.am
++++ gpe-what-0.43/Makefile.am
+@@ -6,7 +6,7 @@ INCLUDES = $(DEPS_CFLAGS) -I$(top_srcdir
+ 
+ bin_PROGRAMS = gpe-what
+ 
+-gpe_what_LDADD = @DEPS_LIBS@
++gpe_what_LDADD = @DEPS_LIBS@ -lX11
+ 
+ gpe_what_SOURCES = gpe-what.c
+ 
+--- gpe-what-0.43.orig/Makefile.in
++++ gpe-what-0.43/Makefile.in
+@@ -218,7 +218,7 @@ INCLUDES = $(DEPS_CFLAGS) -I$(top_srcdir
+            -DPREFIX=\"@pre...@\" -D_GNU_SOURCE \
+            -DPACKAGE_LOCALE_DIR=\"@gpewhat_locale...@\"
+ 
+-gpe_what_LDADD = @DEPS_LIBS@
++gpe_what_LDADD = @DEPS_LIBS@ -lX11
+ gpe_what_SOURCES = gpe-what.c
+ desktopdir = $(datadir)/applications
+ desktop_in_files = gpe-what.desktop.in
diff -Nru gpe-what-0.43/debian/patches/series gpe-what-0.43/debian/patches/series
--- gpe-what-0.43/debian/patches/series	2009-12-12 14:08:39.000000000 +0700
+++ gpe-what-0.43/debian/patches/series	2011-01-09 03:43:24.000000000 +0700
@@ -1 +1,2 @@
 desktop-validity
+fix_ftbfs_binutils-gold.diff

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to