diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-05-09 12:40:44 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-05-09 12:40:44 +0000 |
commit | 50363935ffdd543e3310eb7b34a8131c7562c61b (patch) | |
tree | 940d01346cbd1ff9158e44eb9202a49e938e0b55 /dev-libs/icu | |
parent | Add new snapshot version with working server and ported to python eclass (diff) | |
download | gentoo-2-50363935ffdd543e3310eb7b34a8131c7562c61b.tar.gz gentoo-2-50363935ffdd543e3310eb7b34a8131c7562c61b.tar.bz2 gentoo-2-50363935ffdd543e3310eb7b34a8131c7562c61b.zip |
Fix build of icu 49 on FreeBSD.
(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/icu')
-rw-r--r-- | dev-libs/icu/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/icu/files/icu-49.1.1-bsd.patch | 14 | ||||
-rw-r--r-- | dev-libs/icu/icu-49.1.1-r1.ebuild | 3 |
3 files changed, 21 insertions, 2 deletions
diff --git a/dev-libs/icu/ChangeLog b/dev-libs/icu/ChangeLog index 899d1d638b02..6c5ed3f961e0 100644 --- a/dev-libs/icu/ChangeLog +++ b/dev-libs/icu/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/icu # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.186 2012/05/06 19:40:20 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.187 2012/05/09 12:40:44 aballier Exp $ + + 09 May 2012; Alexis Ballier <aballier@gentoo.org> icu-49.1.1-r1.ebuild, + +files/icu-49.1.1-bsd.patch: + Fix build of icu 49 on FreeBSD. 06 May 2012; Mike Gilbert <floppym@gentoo.org> -files/icu-4.6-pkgdata.patch, -files/icu-4.6.1-parallel_installation.patch, -files/icu-4.8.1-fix_ltr.patch: diff --git a/dev-libs/icu/files/icu-49.1.1-bsd.patch b/dev-libs/icu/files/icu-49.1.1-bsd.patch new file mode 100644 index 000000000000..69f6a7371d86 --- /dev/null +++ b/dev-libs/icu/files/icu-49.1.1-bsd.patch @@ -0,0 +1,14 @@ +FreeBSD does not have timezone. ICU is able to compute it if U_TIMEZONE is not +set. + +--- icu/source/common/putilimp.h.old 2012-05-06 10:04:23.000000000 -0400 ++++ icu/source/common/putilimp.h 2012-05-06 10:05:50.000000000 -0400 +@@ -118,6 +118,8 @@ + # define U_TIMEZONE _timezone + #elif U_PLATFORM == U_PF_OS400 + /* not defined */ ++#elif U_PLATFORM == U_PF_BSD ++ /* not defined */ + #else + # define U_TIMEZONE timezone + #endif diff --git a/dev-libs/icu/icu-49.1.1-r1.ebuild b/dev-libs/icu/icu-49.1.1-r1.ebuild index 212e131d47be..edabf333c750 100644 --- a/dev-libs/icu/icu-49.1.1-r1.ebuild +++ b/dev-libs/icu/icu-49.1.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-49.1.1-r1.ebuild,v 1.1 2012/05/06 16:26:56 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-49.1.1-r1.ebuild,v 1.2 2012/05/09 12:40:44 aballier Exp $ EAPI="4" @@ -56,6 +56,7 @@ src_prepare() { epatch "${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch" epatch "${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch" epatch "${FILESDIR}/${P}-regex.patch" + epatch "${FILESDIR}/${P}-bsd.patch" } src_configure() { |