Bug#553952: FTBFS with binutils-gold

2011-01-04 Thread Mahyuddin Susanto
tag 553952 + patch
severity 553952 normal
user ubuntu-de...@lists.ubuntu.com
usertags 553952 + origin-ubuntu natty ubuntu-patch
thanks



signature.asc
Description: OpenPGP digital signature


Bug#553952: FTBFS with binutils-gold

2011-01-03 Thread Mahyuddin Susanto
Package: bbrun
Version: 1.6-5
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



*** /tmp/tmpwYnsD5
In Ubuntu, the attached patch was applied to achieve the following:

##  REPLACE THIS WITH ACTUAL INFORMATION -
## Please add all necessary information about why the change needed to go in
## Ubuntu, quote policy, spec or any other background material and why it can
## and should be used in Debian too.  If the patch is composed of multiple
## independent pieces, please send them as separate bug reports.
##  REPLACE THIS WITH ACTUAL INFORMATION -


  * debian/patches/03_binutils-gold.dpatch
- Fix FTBFS with ld --no-add-needed. (LP: #696830) 


Thanks for considering the patch.


- -- 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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk0iDzAACgkQlv0FEY56nLA/LACgiDU7RnLw7DSCLdjA/Iv82UXo
gHMAoIOCaagN2Qab4nt6Kk6FaHjTYTlY
=HFU0
-END PGP SIGNATURE-
diff -u bbrun-1.6/debian/patches/00list bbrun-1.6/debian/patches/00list
--- bbrun-1.6/debian/patches/00list
+++ bbrun-1.6/debian/patches/00list
@@ -2,0 +3 @@
+03_binutils-gold
diff -u bbrun-1.6/debian/changelog bbrun-1.6/debian/changelog
diff -u bbrun-1.6/debian/control bbrun-1.6/debian/control
--- bbrun-1.6/debian/control
+++ bbrun-1.6/debian/control
@@ -1,7 +1,8 @@
 Source: bbrun
 Section: x11
 Priority: optional
-Maintainer: Kevin Coyner kcoy...@debian.org
+Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
+XSBC-Original-Maintainer: Kevin Coyner kcoy...@debian.org
 Build-Depends: debhelper (= 5.0), libxpm-dev, libgtk2.0-dev, dpatch
 Standards-Version: 3.7.2
 
only in patch2:
unchanged:
--- bbrun-1.6.orig/debian/patches/03_binutils-gold.dpatch
+++ bbrun-1.6/debian/patches/03_binutils-gold.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 99-unnamed.dpatch by Mahyuddin Susanto udi...@gmail.com
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+...@dpatch@
+diff -Nurp bbrun-1.6/bbrun/Makefile bbrun-1.6.ubuntu/bbrun/Makefile
+--- bbrun-1.6/bbrun/Makefile	2004-02-11 11:57:17.0 +0700
 bbrun-1.6.ubuntu/bbrun/Makefile	2011-01-03 21:36:13.644349001 +0700
+@@ -1,6 +1,6 @@
+ CC = gcc
+ LIBDIR = -L/usr/lib -L/usr/X11R6/lib
+-LIBS   = -lXpm `pkg-config --libs gtk+-2.0`
++LIBS   = -lXpm -lX11 -lXext `pkg-config --libs gtk+-2.0`
+ CFLAGS = `pkg-config --cflags gtk+-2.0`
+ 
+ OBJS   = bbrun.o \


Bug#553952: FTBFS with binutils-gold

2009-11-02 Thread Peter Fritzsche
Package: bbrun
Version: 1.6-5
Severity: normal

gcc -Wall -g -o bbrun bbrun.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o 
../wmgeneral/list.o -L/usr/lib -L/usr/X11R6/lib -
lXpm `pkg-config --libs gtk+-2.0`
/usr/bin/ld: bbrun.o: in function main:bbrun.c:86: error: undefined reference 
to 'XPending'
/usr/bin/ld: bbrun.o: in function main:bbrun.c:87: error: undefined reference 
to 'XNextEvent'
/usr/bin/ld: bbrun.o: in function main:bbrun.c:93: error: undefined reference 
to 'XCloseDisplay'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
setMaskXY:../wmgeneral/wmgeneral.c:365: error: undefined reference to 
'XShapeCombineMask'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
setMaskXY:../wmgeneral/wmgeneral.c:366: error: undefined reference to 
'XShapeCombineMask'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
GetColor:../wmgeneral/wmgeneral.c:199: error: undefined reference to 
'XGetWindowAttributes'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
GetColor:../wmgeneral/wmgeneral.c:202: error: undefined reference to 
'XParseColor'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
GetColor:../wmgeneral/wmgeneral.c:204: error: undefined reference to 
'XAllocColor'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:403: error: undefined reference to 
'XOpenDisplay'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:411: error: undefined reference to 
'XConnectionNumber'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:177: error: undefined reference to 
'XGetWindowAttributes'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:424: error: undefined reference to 
'XWMGeometry'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:430: error: undefined reference to 
'XCreateSimpleWindow'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:433: error: undefined reference to 
'XCreateSimpleWindow'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:437: error: undefined reference to 
'XSetWMNormalHints'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:440: error: undefined reference to 
'XSetClassHint'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:442: error: undefined reference to 
'XSelectInput'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:443: error: undefined reference to 
'XSelectInput'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:445: error: undefined reference to 
'XStringListToTextProperty'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:450: error: undefined reference to 
'XSetWMName'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:458: error: undefined reference to 
'XCreateGC'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:462: error: undefined reference to 
'XCreateBitmapFromData'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:464: error: undefined reference to 
'XShapeCombineMask'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:465: error: undefined reference to 
'XShapeCombineMask'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:476: error: undefined reference to 
'XSetWMHints'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:478: error: undefined reference to 
'XSetCommand'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:479: error: undefined reference to 
'XMapWindow'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:486: error: undefined reference to 
'XMoveWindow'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
openXwindow:../wmgeneral/wmgeneral.c:404: error: undefined reference to 
'XDisplayName'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
copyXBMArea:../wmgeneral/wmgeneral.c:355: error: undefined reference to 
'XCopyArea'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
copyXPMArea:../wmgeneral/wmgeneral.c:345: error: undefined reference to 
'XCopyArea'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
RedrawWindowXY:../wmgeneral/wmgeneral.c:219: error: undefined reference 
to 'XCheckTypedWindowEvent'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
RedrawWindowXY:../wmgeneral/wmgeneral.c:246: error: undefined reference 
to 'XCopyArea'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function 
RedrawWindowXY:../wmgeneral/wmgeneral.c:219: error: undefined reference 
to 'XCheckTypedWindowEvent'
/usr/bin/ld: ../wmgeneral/wmgeneral.o: in function