summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-06 13:08:05 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-06 13:08:05 +0000
commite4558b61e33556c33e674173bd679e6352c80abe (patch)
tree6ccb0f304ec1f33e3062c9458054d1e9c5cc8618 /media-libs/nas/files/nas-1.9.2-asneeded.patch
parentStable on amd64 wrt bug #298777 (diff)
downloadgentoo-2-e4558b61e33556c33e674173bd679e6352c80abe.tar.gz
gentoo-2-e4558b61e33556c33e674173bd679e6352c80abe.tar.bz2
gentoo-2-e4558b61e33556c33e674173bd679e6352c80abe.zip
Fix building with -Wl,--as-needed wrt #247761 by Kacper Kowalik.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/nas/files/nas-1.9.2-asneeded.patch')
-rw-r--r--media-libs/nas/files/nas-1.9.2-asneeded.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/nas/files/nas-1.9.2-asneeded.patch b/media-libs/nas/files/nas-1.9.2-asneeded.patch
new file mode 100644
index 000000000000..2ac89487a2c8
--- /dev/null
+++ b/media-libs/nas/files/nas-1.9.2-asneeded.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/show_bug.cgi?id=247761
+
+--- config/NetAudio.tmpl
++++ config/NetAudio.tmpl
+@@ -162,7 +162,7 @@
+
+ AUDIODEPLIBS = $(DEPAULIB) $(DEPXTOOLLIB) $(DEPXLIB)
+ #ifndef WIN32
+- AUDIOLIBS = $(AULIB) $(XTOOLLIB) $(XLIB) -lm
++ AUDIOLIBS = $(AULIB) $(XTOOLLIB) $(XAUTHLIB) $(XLIB) -lm
+ #else /* WIN32 */
+ AUDIOLIBS = $(AULIB)
+ #endif /* WIN32 */