From: | "Kevin McCarthy (signals)" <signals@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/wbar/files: wbar-2.1.3-as-needed.patch |
Date: | Fri, 06 May 2011 13:56:24 |
Message-Id: | 20110506135614.CCB3C20057@flycatcher.gentoo.org |
1 | signals 11/05/06 13:56:14 |
2 | |
3 | Added: wbar-2.1.3-as-needed.patch |
4 | Log: |
5 | Version bump. |
6 | |
7 | (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-misc/wbar/files/wbar-2.1.3-as-needed.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/wbar/files/wbar-2.1.3-as-needed.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/wbar/files/wbar-2.1.3-as-needed.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: wbar-2.1.3-as-needed.patch |
16 | =================================================================== |
17 | Fix automake issues with having two Main.cc |
18 | Fix building with --as-needed |
19 | |
20 | https://bugs.gentoo.org/358557 |
21 | |
22 | Patch provided by xarthisius@g.o for 2.1.1 |
23 | Patch adapted to 2.1.3 by Kevin McCarthy <signals@g.o> |
24 | |
25 | --- src/Makefile.am |
26 | +++ src/Makefile.am |
27 | @@ -27,7 +27,7 @@ |
28 | $(top_srcdir)/src/config/Run.cc \ |
29 | $(top_srcdir)/src/config/Functions.cc \ |
30 | $(top_srcdir)/src/config/Functions.h \ |
31 | -$(top_srcdir)/src/config/Main.cc \ |
32 | +$(top_srcdir)/src/config/Main-config.cc \ |
33 | $(UTILS) |
34 | endif |
35 | |
36 | @@ -42,11 +42,12 @@ |
37 | $(top_srcdir)/src/utils/OptParser.h \ |
38 | $(top_srcdir)/src/utils/i18n.h |
39 | |
40 | -wbar_CPPFLAGS = @modules_CFLAGS@ -I$(top_srcdir)/src/utils |
41 | -wbar_LDFLAGS = @modules_LIBS@ |
42 | +AM_CPPFLAGS = -I$(top_srcdir)/src/utils |
43 | +wbar_CXXFLAGS = @modules_CFLAGS@ |
44 | +wbar_LDADD = @modules_LIBS@ |
45 | |
46 | if WBAR_CONFIG |
47 | -wbar_config_CPPFLAGS = @gui_modules_CFLAGS@ -I$(top_srcdir)/src/utils |
48 | -wbar_config_LDFLAGS = @gui_modules_LIBS@ |
49 | +wbar_config_CXXFLAGS = @gui_modules_CFLAGS@ |
50 | +wbar_config_LDADD = @gui_modules_LIBS@ |
51 | endif |