Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/gqradio/files: gqradio-1.9.2-underlinking.patch
Date: Sun, 02 Feb 2014 09:37:22
Message-Id: 20140202093717.7C49A2004E@flycatcher.gentoo.org
1 ssuominen 14/02/02 09:37:17
2
3 Added: gqradio-1.9.2-underlinking.patch
4 Log:
5 Fix underlinking (link against -t -lX11 -lm) wrt #492764 by Ted Tanberry
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
8
9 Revision Changes Path
10 1.1 media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch?rev=1.1&content-type=text/plain
14
15 Index: gqradio-1.9.2-underlinking.patch
16 ===================================================================
17 --- configure.in
18 +++ configure.in
19 @@ -30,6 +30,16 @@
20 AC_DEFINE_UNQUOTED(GQRADIO_SKINDIR, "$prefix/share/gqradio/skins", [Location of skins])
21 AC_DEFINE_UNQUOTED(GQRADIO_HELPDIR, "$prefix/share/doc/gqradio-$VERSION", [Location of documentation files])
22
23 +dnl Check for XInternAtom() in libX11 in order to prevent underlinking #492764
24 +AC_SEARCH_LIBS([XInternAtom], [X11], [], [
25 + AC_MSG_ERROR([unable to find the XInternAtom() function])
26 +])
27 +
28 +dnl Check for rintf() in libm
29 +AC_SEARCH_LIBS([rintf], [m], [], [
30 + AC_MSG_ERROR([unable to find the rintf() function])
31 +])
32 +
33 ALL_LINGUAS="fr"
34 GETTEXT_PACKAGE=$PACKAGE
35 AC_SUBST(GETTEXT_PACKAGE)