File: fix-ftbfs-with-gold.patch

package info (click to toggle)
rlplot 1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,364 kB
  • ctags: 6,340
  • sloc: cpp: 87,682; yacc: 3,401; makefile: 256
file content (39 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
37
38
39
Description: Fix build with binutils-gold
 Patch from Ubuntu to fix FTBFS with binutils-gold (#556322):

    rlplot (1.4-1ubuntu2) natty; urgency=low

      * Fix FTBFS with ld --no-add-needed.
	- Rearrange linker arguments.
	- Link against pthread.

     -- Felix Geyer <debfx-pkg@fobos.de>  Sat, 15 Jan 2011 18:08:18 +0100

Author: Felix Geyer <debfx-pkg@fobos.de>

---
Bug-Debian: http://bugs.debian.org/556322
Origin: ubuntu
Forwarded: no
Last-Update: 2011-01-15

--- rlplot-1.5.orig/Makefile
+++ rlplot-1.5/Makefile
@@ -19,7 +19,7 @@
 #
 #
 CC = g++
-X11LIBS = -lX11 -lm
+X11LIBS = -lX11 -lm -lpthread
 SRCDIR = ./
 
 #######
@@ -74,7 +74,7 @@
 	make rlplot QTDIR=$(QT3DIR) MOC=$(QT3MOC) CFLAGS=$(QT3CFLAGS) QTH=$(QT3H) $(MOC3FLAGS) LIBS=$(QT3LIBS)
 
 rlplot: $(OBJECTS)
-	$(CC) $(LIBS) -o rlplot $(OBJECTS) $(QTLIBS) $(X11LIBS)
+	$(CC) -o rlplot $(OBJECTS) $(LIBS) $(QTLIBS) $(X11LIBS)
 
 exprlp: $(GENOBJ)
 	$(CC) -o exprlp $(GENOBJ)