summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-06 15:36:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-06 15:36:36 +0000
commit21b1261b1909dfcdb3d37a6b15de3bf1f9097bff (patch)
tree2405f2e819f0dce42f32dbe892cac59414670cf8 /app-i18n/fcitx/files
parentDelete older ebuild. (diff)
downloadgentoo-2-21b1261b1909dfcdb3d37a6b15de3bf1f9097bff.tar.gz
gentoo-2-21b1261b1909dfcdb3d37a6b15de3bf1f9097bff.tar.bz2
gentoo-2-21b1261b1909dfcdb3d37a6b15de3bf1f9097bff.zip
Fix building with -Wl,--as-needed wrt #276302 by Kacper Kowalik.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/fcitx/files')
-rw-r--r--app-i18n/fcitx/files/fcitx-3.6.2-asneeded.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-i18n/fcitx/files/fcitx-3.6.2-asneeded.patch b/app-i18n/fcitx/files/fcitx-3.6.2-asneeded.patch
new file mode 100644
index 000000000000..d83f4773d58d
--- /dev/null
+++ b/app-i18n/fcitx/files/fcitx-3.6.2-asneeded.patch
@@ -0,0 +1,29 @@
+http://bugs.gentoo.org/show_bug.cgi?id=276302
+
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -1,7 +1,7 @@
+ DEFS = -DPKGDATADIR=\"$(pkgdatadir)\"
+
+ INCLUDES = -I. -I$(top_srcdir)/lib -I$(top_srcdir)/xpm
+-AM_CFLAGS = -O2 -fno-strength-reduce
++AM_CFLAGS = -fno-strength-reduce
+
+
+ bin_PROGRAMS = fcitx
+@@ -34,5 +34,4 @@
+ fcitx.h extra.c extra.h \
+ internalVersion.c
+
+-fcitx_LDADD = ../lib/libXimd.a
+-fcitx_LDFLAGS = -lXpm -lXtst
++fcitx_LDADD = ../lib/libXimd.a -lXpm -lXtst -lXext
+--- lib/Makefile.am
++++ lib/Makefile.am
+@@ -1,5 +1,5 @@
+ noinst_LIBRARIES = libXimd.a
+-AM_CFLAGS = -c -O2 -fno-strength-reduce -fno-strict-aliasing
++AM_CFLAGS = -fno-strength-reduce -fno-strict-aliasing
+ libXimd_a_SOURCES = \
+ FrameMgr.c FrameMgr.h i18nAttr.c i18nClbk.c i18nIc.c \
+ i18nIMProto.c i18nMethod.c i18nPtHdr.c i18nUtil.c i18nX.c \