summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 \