summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2016-08-31 20:06:44 +0700
committerAndrey Grozin <grozin@gentoo.org>2016-08-31 20:08:07 +0700
commit31ace4f36832baf4083cad886a37b3bae0a0bfcf (patch)
treecbb0474844e186dddfb5a171d6c46f1cb4594360 /app-text
parentnet-libs/libtrace: Depend on net-libs/wandio (bug #592574). (diff)
downloadgentoo-31ace4f36832baf4083cad886a37b3bae0a0bfcf.tar.gz
gentoo-31ace4f36832baf4083cad886a37b3bae0a0bfcf.tar.bz2
gentoo-31ace4f36832baf4083cad886a37b3bae0a0bfcf.zip
app-text/fbreader: link with bfd
Bug: 437262 Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text')
-rw-r--r--app-text/fbreader/fbreader-0.99.4-r2.ebuild4
-rw-r--r--app-text/fbreader/files/fbreader-0.99.4-ld-bfd.patch10
2 files changed, 13 insertions, 1 deletions
diff --git a/app-text/fbreader/fbreader-0.99.4-r2.ebuild b/app-text/fbreader/fbreader-0.99.4-r2.ebuild
index 8741fcdae6e6..6d5c3102c10f 100644
--- a/app-text/fbreader/fbreader-0.99.4-r2.ebuild
+++ b/app-text/fbreader/fbreader-0.99.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -72,6 +72,8 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-qreal-cast.patch
# bug #516794
epatch "${FILESDIR}"/${P}-mimetypes.patch
+ # bug #437262
+ epatch "${FILESDIR}"/${P}-ld-bfd.patch
}
src_compile() {
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
new file mode 100644
index 000000000000..ab872edf17cd
--- /dev/null
+++ b/app-text/fbreader/files/fbreader-0.99.4-ld-bfd.patch
@@ -0,0 +1,10 @@
+diff -r -U2 fbreader-0.99.4.orig/fbreader/Makefile fbreader-0.99.4/fbreader/Makefile
+--- fbreader-0.99.4.orig/fbreader/Makefile 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/fbreader/Makefile 2016-08-31 19:06:35.011708982 +0700
+@@ -23,5 +23,5 @@
+ done;
+ @echo -n 'Linking $(TARGET) ...'
+- @$(LD) $(LDFLAGS) -o $(TARGET) `find src -name *.o` $(TEXT_LIBS) $(CORE_LIBS) $(ZLUI_LIB) -lsqlite3
++ @$(LD) -fuse-ld=bfd $(LDFLAGS) -o $(TARGET) `find src -name *.o` $(TEXT_LIBS) $(CORE_LIBS) $(ZLUI_LIB) -lsqlite3
+ @echo ' OK'
+