From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-wm/blackbox/files: blackbox-0.70.1-no-LDFLAGS-pc.patch |
Date: | Sat, 01 Mar 2014 11:28:25 |
Message-Id: | 20140301112822.582A92004E@flycatcher.gentoo.org |
1 | slyfox 14/03/01 11:28:22 |
2 | |
3 | Added: blackbox-0.70.1-no-LDFLAGS-pc.patch |
4 | Log: |
5 | Fixed LDFLAGS leak to pkgconfig file. |
6 | |
7 | (Portage version: 2.2.8_p53/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/blackbox/files/blackbox-0.70.1-no-LDFLAGS-pc.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: blackbox-0.70.1-no-LDFLAGS-pc.patch |
16 | =================================================================== |
17 | Fix LDFGAS leak to .pc file: |
18 | > * QA Notice: pkg-config files with wrong LDFLAGS detected: |
19 | > * /usr/lib64/pkgconfig/libbt.pc:Libs: -L${libdir} -lbt -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L/usr/lib -L/usr/local/lib |
20 | diff --git a/lib/libbt.pc.in b/lib/libbt.pc.in |
21 | index a2a8869..8246cb0 100644 |
22 | --- a/lib/libbt.pc.in |
23 | +++ b/lib/libbt.pc.in |
24 | @@ -7,5 +7,5 @@ Name: Blackbox Toolbox |
25 | Description: Utility class library for writing small applications |
26 | Requires: @XFT_PKGCONFIG@ |
27 | Version: @VERSION@ |
28 | -Libs: -L${libdir} -lbt @LDFLAGS@ @ICONV@ @LOCALE@ |
29 | +Libs: -L${libdir} -lbt @ICONV@ @LOCALE@ |
30 | Cflags: -I${includedir}/bt |