Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/fcitx/files: fcitx-3.6.2-asneeded.patch
Date: Sat, 06 Feb 2010 15:36:42
Message-Id: E1Ndmi5-0006jj-7j@stork.gentoo.org
1 ssuominen 10/02/06 15:36:37
2
3 Added: fcitx-3.6.2-asneeded.patch
4 Log:
5 Fix building with -Wl,--as-needed wrt #276302 by Kacper Kowalik.
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-i18n/fcitx/files/fcitx-3.6.2-asneeded.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/fcitx/files/fcitx-3.6.2-asneeded.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/fcitx/files/fcitx-3.6.2-asneeded.patch?rev=1.1&content-type=text/plain
13
14 Index: fcitx-3.6.2-asneeded.patch
15 ===================================================================
16 http://bugs.gentoo.org/show_bug.cgi?id=276302
17
18 --- src/Makefile.am
19 +++ src/Makefile.am
20 @@ -1,7 +1,7 @@
21 DEFS = -DPKGDATADIR=\"$(pkgdatadir)\"
22
23 INCLUDES = -I. -I$(top_srcdir)/lib -I$(top_srcdir)/xpm
24 -AM_CFLAGS = -O2 -fno-strength-reduce
25 +AM_CFLAGS = -fno-strength-reduce
26
27
28 bin_PROGRAMS = fcitx
29 @@ -34,5 +34,4 @@
30 fcitx.h extra.c extra.h \
31 internalVersion.c
32
33 -fcitx_LDADD = ../lib/libXimd.a
34 -fcitx_LDFLAGS = -lXpm -lXtst
35 +fcitx_LDADD = ../lib/libXimd.a -lXpm -lXtst -lXext
36 --- lib/Makefile.am
37 +++ lib/Makefile.am
38 @@ -1,5 +1,5 @@
39 noinst_LIBRARIES = libXimd.a
40 -AM_CFLAGS = -c -O2 -fno-strength-reduce -fno-strict-aliasing
41 +AM_CFLAGS = -fno-strength-reduce -fno-strict-aliasing
42 libXimd_a_SOURCES = \
43 FrameMgr.c FrameMgr.h i18nAttr.c i18nClbk.c i18nIc.c \
44 i18nIMProto.c i18nMethod.c i18nPtHdr.c i18nUtil.c i18nX.c \