summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-12-31 14:56:01 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-12-31 14:56:01 +0000
commit3dcab1fd295df579ebd83c49b162d78b6bf22ece (patch)
treefb369ce2685c26677c73dcaf893e5847564aa50c /app-i18n/im-freewnn/files
parentFixed as-needed issue, bug #298744. (diff)
downloadgentoo-2-3dcab1fd295df579ebd83c49b162d78b6bf22ece.tar.gz
gentoo-2-3dcab1fd295df579ebd83c49b162d78b6bf22ece.tar.bz2
gentoo-2-3dcab1fd295df579ebd83c49b162d78b6bf22ece.zip
Fixed as-needed issue, bug #298744.
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/im-freewnn/files')
-rw-r--r--app-i18n/im-freewnn/files/im-freewnn-0.0.2-as-needed.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-i18n/im-freewnn/files/im-freewnn-0.0.2-as-needed.patch b/app-i18n/im-freewnn/files/im-freewnn-0.0.2-as-needed.patch
new file mode 100644
index 000000000000..859ea779817a
--- /dev/null
+++ b/app-i18n/im-freewnn/files/im-freewnn-0.0.2-as-needed.patch
@@ -0,0 +1,35 @@
+--- im-freewnn-0.0.2.orig/Makefile.am 2004-08-04 07:05:06.000000000 +0200
++++ im-freewnn-0.0.2/Makefile.am 2009-12-29 20:34:54.420539767 +0100
+@@ -10,8 +10,6 @@
+
+ DEPS =
+
+-LDADDS = @GTK_DEP_LIBS@ -lcrypt
+-
+ EXTRA_DIST= \
+ im-freewnn.spec
+
+@@ -38,7 +36,7 @@
+ candwin.h \
+ candwin.c
+
+-im_freewnn_la_LIBADD = $(LDADDS) -lcrypt
++im_freewnn_la_LIBADD = @LIBS@ @GTK_DEP_LIBS@ -lcrypt
+
+ module_LTLIBRARIES = \
+ im-freewnn.la
+--- im-freewnn-0.0.2.orig/configure.in 2004-08-05 08:04:36.000000000 +0200
++++ im-freewnn-0.0.2/configure.in 2009-12-29 20:36:31.562539161 +0100
+@@ -48,11 +48,8 @@
+ AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
+
+ dnl FreeWnn check
+-ldflags_backup="$LDFLAGS"
+-LDFLAGS="$LDFLAGS -lcrypt"
+ AC_CHECK_HEADER(wnn/jlib.h,,)
+-AC_CHECK_LIB(wnn, jl_open_lang,,)
+-LDFLAGS="$ldflags_backup"
++AC_CHECK_LIB([wnn], [jl_open_lang], , ,[-lcrypt])
+
+ AC_OUTPUT([
+ Makefile