media-libs/nas: link against libfl
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 22 Aug 2018 22:23:01 +0000 (00:23 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 22 Aug 2018 22:23:23 +0000 (00:23 +0200)
Thanks-to: Mihai Moldovan <ionic@ionic.de>
Closes: https://bugs.gentoo.org/612270
Package-Manager: Portage-2.3.48, Repoman-2.3.10

media-libs/nas/files/nas-1.9.4-libfl.patch [new file with mode: 0644]
media-libs/nas/nas-1.9.4-r2.ebuild

diff --git a/media-libs/nas/files/nas-1.9.4-libfl.patch b/media-libs/nas/files/nas-1.9.4-libfl.patch
new file mode 100644 (file)
index 0000000..cea30f4
--- /dev/null
@@ -0,0 +1,12 @@
+diff -pur nas-1.9.4-orig/server/Imakefile nas-1.9.4/server/Imakefile
+--- a/server/Imakefile 2013-04-27 02:41:06.000000000 +0200
++++ b/server/Imakefile 2017-03-14 18:58:27.445311356 +0100
+@@ -57,7 +57,7 @@ XCOMM $NCDId: @(#)Imakefile,v 1.17 1995/
+ # endif
+ #else
+-        SYSLIBS =
++        SYSLIBS = $(LEXLIB)
+ #endif
+ #ifdef NetBSDArchitecture
index 909424ef8e288fe3064489d1f5f617c735165cc9..0d4e1ea41364929add41378ee97ab00cf93918ec 100644 (file)
@@ -37,6 +37,7 @@ DOCS=( BUILDNOTES FAQ HISTORY README RELEASE TODO )
 PATCHES=(
        "${FILESDIR}"/${PN}-1.9.2-asneeded.patch
        "${FILESDIR}"/${PN}-1.9.4-remove-abs-fabs.patch
+       "${FILESDIR}"/${PN}-1.9.4-libfl.patch
 )
 
 src_prepare() {