Package: acedb / 4.9.39+dfsg.02-5

binutils-gold.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: add explicit link with libX11 as this is required by libgex.a.
 This fix a FTBFS with binutils-gold with the following error:
 "./libgex.a(graphgdkremote.o): undefined reference to symbol 'XFree'"
Author: Fabrice Coutadeur <fabricesp@ubuntu.com>
Forwarded: acedb@sanger.ac.uk

--- a/wmake/LINUX_4_DEF
+++ b/wmake/LINUX_4_DEF
@@ -28,7 +28,7 @@ COMPILER = gcc $(COPT) -Wall  -DACEDB4 `
 LINKER = gcc $(COPT)
 
 # The arg to libs-config is used if our private copy not installed.
-LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline
+LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline -lX11
 
 ### Linux uses flex to emulate the standard 'lex' program
 LEX_LIBS = -lfl
--- a/wmake/LINUX_64_DEF
+++ b/wmake/LINUX_64_DEF
@@ -28,7 +28,7 @@ COMPILER = gcc $(COPT) -Wall  -DACEDB4 `
 LINKER = gcc $(COPT)
 
 # The arg to libs-config is used if our private copy not installed.
-LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline
+LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline -lX11
 
 ### Linux uses flex to emulate the standard 'lex' program
 LEX_LIBS = -lfl