From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-client/midori/files: midori-0.5.7-underlinking.patch |
Date: | Sat, 29 Mar 2014 13:22:22 |
Message-Id: | 20140329132214.52D3020057@flycatcher.gentoo.org |
1 | ssuominen 14/03/29 13:22:14 |
2 | |
3 | Added: midori-0.5.7-underlinking.patch |
4 | Log: |
5 | Version bump wrt #492214 and add USE="granite" wrt #490040. Thanks to "A. Person" for reporting both bugs. |
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 www-client/midori/files/midori-0.5.7-underlinking.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.5.7-underlinking.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/midori/files/midori-0.5.7-underlinking.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: midori-0.5.7-underlinking.patch |
16 | =================================================================== |
17 | midori/sokoke.c is using XGetWindowProperty() and XFree(), therefore link against -lX11 to prevent |
18 | underlinking failures like "error: undefined reference to 'XGetWindowProperty'" and |
19 | "error: undefined reference to 'XFree'" |
20 | |
21 | $ ld -v |
22 | GNU gold (GNU Binutils 2.24) 1.11 |
23 | ^^^^ |
24 | |
25 | $ emerge --info |grep LDFLAGS |
26 | LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" |
27 | ^^^^^^^^^^^^^^^ |
28 | |
29 | --- midori-0.5.7.orig/CMakeLists.txt 2014-01-15 22:43:34.000000000 +0200 |
30 | +++ midori-0.5.7/CMakeLists.txt 2014-03-29 13:06:16.714114071 +0200 |
31 | @@ -77,7 +77,7 @@ |
32 | find_library (XSS Xss /usr/lib/X11R6/lib) |
33 | if (SCRNSAVER AND XSS) |
34 | add_definitions("-DHAVE_X11_EXTENSIONS_SCRNSAVER_H") |
35 | - set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${XSS}") |
36 | + set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${XSS};${X11}") |
37 | endif () |
38 | endif () |