1 |
commit: 31ace4f36832baf4083cad886a37b3bae0a0bfcf |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 13:06:44 2016 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 13:08:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ace4f3 |
7 |
|
8 |
app-text/fbreader: link with bfd |
9 |
|
10 |
Bug: 437262 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
app-text/fbreader/fbreader-0.99.4-r2.ebuild | 4 +++- |
15 |
app-text/fbreader/files/fbreader-0.99.4-ld-bfd.patch | 10 ++++++++++ |
16 |
2 files changed, 13 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/app-text/fbreader/fbreader-0.99.4-r2.ebuild b/app-text/fbreader/fbreader-0.99.4-r2.ebuild |
19 |
index 8741fcd..6d5c310 100644 |
20 |
--- a/app-text/fbreader/fbreader-0.99.4-r2.ebuild |
21 |
+++ b/app-text/fbreader/fbreader-0.99.4-r2.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
+# Copyright 1999-2016 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
# $Id$ |
27 |
|
28 |
@@ -72,6 +72,8 @@ src_prepare() { |
29 |
epatch "${FILESDIR}"/${P}-qreal-cast.patch |
30 |
# bug #516794 |
31 |
epatch "${FILESDIR}"/${P}-mimetypes.patch |
32 |
+ # bug #437262 |
33 |
+ epatch "${FILESDIR}"/${P}-ld-bfd.patch |
34 |
} |
35 |
|
36 |
src_compile() { |
37 |
|
38 |
diff --git a/app-text/fbreader/files/fbreader-0.99.4-ld-bfd.patch b/app-text/fbreader/files/fbreader-0.99.4-ld-bfd.patch |
39 |
new file mode 100644 |
40 |
index 00000000..ab872ed |
41 |
--- /dev/null |
42 |
+++ b/app-text/fbreader/files/fbreader-0.99.4-ld-bfd.patch |
43 |
@@ -0,0 +1,10 @@ |
44 |
+diff -r -U2 fbreader-0.99.4.orig/fbreader/Makefile fbreader-0.99.4/fbreader/Makefile |
45 |
+--- fbreader-0.99.4.orig/fbreader/Makefile 2012-11-30 19:41:25.000000000 +0700 |
46 |
++++ fbreader-0.99.4/fbreader/Makefile 2016-08-31 19:06:35.011708982 +0700 |
47 |
+@@ -23,5 +23,5 @@ |
48 |
+ done; |
49 |
+ @echo -n 'Linking $(TARGET) ...' |
50 |
+- @$(LD) $(LDFLAGS) -o $(TARGET) `find src -name *.o` $(TEXT_LIBS) $(CORE_LIBS) $(ZLUI_LIB) -lsqlite3 |
51 |
++ @$(LD) -fuse-ld=bfd $(LDFLAGS) -o $(TARGET) `find src -name *.o` $(TEXT_LIBS) $(CORE_LIBS) $(ZLUI_LIB) -lsqlite3 |
52 |
+ @echo ' OK' |
53 |
+ |