diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-11-20 14:26:45 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2011-11-20 14:26:45 +0000 |
commit | 50952f00a5a78ac1ee766553e31939669c6a1b2f (patch) | |
tree | 4b52781296c3a3061957cca9956732172e4c45a0 /dev-libs/m17n-lib | |
parent | Version bump. Bug #390457 (diff) | |
download | gentoo-2-50952f00a5a78ac1ee766553e31939669c6a1b2f.tar.gz gentoo-2-50952f00a5a78ac1ee766553e31939669c6a1b2f.tar.bz2 gentoo-2-50952f00a5a78ac1ee766553e31939669c6a1b2f.zip |
Add a patch to deal with newer fribidi. Bug #389121
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/m17n-lib')
-rw-r--r-- | dev-libs/m17n-lib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/m17n-lib/files/m17n-lib-1.5.2-fribidi.patch | 16 | ||||
-rw-r--r-- | dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild | 12 |
3 files changed, 30 insertions, 4 deletions
diff --git a/dev-libs/m17n-lib/ChangeLog b/dev-libs/m17n-lib/ChangeLog index 3fc8176d7017..903fd7083550 100644 --- a/dev-libs/m17n-lib/ChangeLog +++ b/dev-libs/m17n-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/m17n-lib # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.53 2011/11/10 16:27:35 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.54 2011/11/20 14:26:45 naota Exp $ + + 20 Nov 2011; Naohiro Aota <naota@gentoo.org> m17n-lib-1.5.2.ebuild, + +files/m17n-lib-1.5.2-fribidi.patch: + Add a patch to deal with newer fribidi. Bug #389121 *m17n-lib-1.6.3 (10 Nov 2011) diff --git a/dev-libs/m17n-lib/files/m17n-lib-1.5.2-fribidi.patch b/dev-libs/m17n-lib/files/m17n-lib-1.5.2-fribidi.patch new file mode 100644 index 000000000000..cfc298e320e7 --- /dev/null +++ b/dev-libs/m17n-lib/files/m17n-lib-1.5.2-fribidi.patch @@ -0,0 +1,16 @@ +diff --git a/src/draw.c b/src/draw.c +index f9667d0..1ba6cf6 100644 +--- a/src/draw.c ++++ b/src/draw.c +@@ -1750,7 +1750,11 @@ mdraw__init () + MbidiS = msymbol ("S"); + MbidiNSM = msymbol ("NSM"); + #ifdef HAVE_FRIBIDI ++#if FRIBIDI_INTERFACE_VERSION < 3 + fribidi_set_mirroring (TRUE); ++#else ++ fribidi_set_mirroring (1); ++#endif + #endif + + M_break_at_space = msymbol ("bs"); diff --git a/dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild b/dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild index 63d04057407f..e4f9eccd4a2f 100644 --- a/dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild +++ b/dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild,v 1.8 2010/01/31 11:49:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.5.2.ebuild,v 1.9 2011/11/20 14:26:45 naota Exp $ -inherit flag-o-matic +inherit flag-o-matic eutils DESCRIPTION="Multilingual Library for Unix/Linux" HOMEPAGE="http://www.m17n.org/m17n-lib/" @@ -41,6 +41,12 @@ pkg_setup() { fi } +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-fribidi.patch +} + src_compile() { append-flags -fPIC econf $(use_with gd) || die |