Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/im-freewnn/files: im-freewnn-0.0.2-as-needed.patch
Date: Thu, 31 Dec 2009 14:56:02
Message-Id: E1NQMRV-0006O4-Ed@stork.gentoo.org
1 matsuu 09/12/31 14:56:01
2
3 Added: im-freewnn-0.0.2-as-needed.patch
4 Log:
5 Fixed as-needed issue, bug #298744.
6 (Portage version: 2.1.7.16/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-i18n/im-freewnn/files/im-freewnn-0.0.2-as-needed.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/im-freewnn/files/im-freewnn-0.0.2-as-needed.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/im-freewnn/files/im-freewnn-0.0.2-as-needed.patch?rev=1.1&content-type=text/plain
13
14 Index: im-freewnn-0.0.2-as-needed.patch
15 ===================================================================
16 --- im-freewnn-0.0.2.orig/Makefile.am 2004-08-04 07:05:06.000000000 +0200
17 +++ im-freewnn-0.0.2/Makefile.am 2009-12-29 20:34:54.420539767 +0100
18 @@ -10,8 +10,6 @@
19
20 DEPS =
21
22 -LDADDS = @GTK_DEP_LIBS@ -lcrypt
23 -
24 EXTRA_DIST= \
25 im-freewnn.spec
26
27 @@ -38,7 +36,7 @@
28 candwin.h \
29 candwin.c
30
31 -im_freewnn_la_LIBADD = $(LDADDS) -lcrypt
32 +im_freewnn_la_LIBADD = @LIBS@ @GTK_DEP_LIBS@ -lcrypt
33
34 module_LTLIBRARIES = \
35 im-freewnn.la
36 --- im-freewnn-0.0.2.orig/configure.in 2004-08-05 08:04:36.000000000 +0200
37 +++ im-freewnn-0.0.2/configure.in 2009-12-29 20:36:31.562539161 +0100
38 @@ -48,11 +48,8 @@
39 AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
40
41 dnl FreeWnn check
42 -ldflags_backup="$LDFLAGS"
43 -LDFLAGS="$LDFLAGS -lcrypt"
44 AC_CHECK_HEADER(wnn/jlib.h,,)
45 -AC_CHECK_LIB(wnn, jl_open_lang,,)
46 -LDFLAGS="$ldflags_backup"
47 +AC_CHECK_LIB([wnn], [jl_open_lang], , ,[-lcrypt])
48
49 AC_OUTPUT([
50 Makefile