diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-06-07 00:37:19 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-06-07 00:37:19 +0000 |
commit | f472f7db3ed81deb6457422149553ddea7c9bce8 (patch) | |
tree | 7358ed0244f6b595c7c2445f1b2110acee106dd2 /dev-libs/icu | |
parent | Version bump to development release in order to get rid of the media-libs/lib... (diff) | |
download | gentoo-2-f472f7db3ed81deb6457422149553ddea7c9bce8.tar.gz gentoo-2-f472f7db3ed81deb6457422149553ddea7c9bce8.tar.bz2 gentoo-2-f472f7db3ed81deb6457422149553ddea7c9bce8.zip |
Drop old per Arfrever.
(Portage version: 2.2.0_alpha110/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-4.8.1-fix_nan.patch | 68 | ||||
-rw-r--r-- | dev-libs/icu/icu-4.8.1.1-r1.ebuild | 93 |
3 files changed, 5 insertions, 162 deletions
diff --git a/dev-libs/icu/ChangeLog b/dev-libs/icu/ChangeLog index 4cfbe3c6e489..ee5f789b763c 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.198 2012/06/06 03:29:24 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/ChangeLog,v 1.199 2012/06/07 00:37:18 floppym Exp $ + + 07 Jun 2012; Mike Gilbert <floppym@gentoo.org> -files/icu-4.8.1-fix_nan.patch, + -icu-4.8.1.1-r1.ebuild: + Drop old per Arfrever. 06 Jun 2012; Zac Medico <zmedico@gentoo.org> icu-4.8.1.1-r1.ebuild: inherit eutils for epatch diff --git a/dev-libs/icu/files/icu-4.8.1-fix_nan.patch b/dev-libs/icu/files/icu-4.8.1-fix_nan.patch deleted file mode 100644 index 971d66d8bc30..000000000000 --- a/dev-libs/icu/files/icu-4.8.1-fix_nan.patch +++ /dev/null @@ -1,68 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=380827
-http://bugs.icu-project.org/trac/ticket/8561
-http://bugs.icu-project.org/trac/changeset/30689
-http://code.google.com/p/chromium/issues/detail?id=92847
-
---- source/i18n/digitlst.cpp.orig 2011-07-19 23:16:00.000000000 +0200 -+++ source/i18n/digitlst.cpp 2011-10-12 23:47:08.000000000 +0200 -@@ -60,6 +60,18 @@ - - U_NAMESPACE_BEGIN - -+static void
-+loadDecimalChar() {
-+ if (gDecimal == 0) {
-+ char rep[MAX_DIGITS];
-+ // For machines that decide to change the decimal on you,
-+ // and try to be too smart with localization.
-+ // This normally should be just a '.'.
-+ sprintf(rep, "%+1.1f", 1.0);
-+ gDecimal = rep[2];
-+ }
-+}
-+
- // ------------------------------------- - // default constructor - -@@ -408,15 +420,6 @@ - } - DigitList *nonConstThis = const_cast<DigitList *>(this); - -- if (gDecimal == 0) { -- char rep[MAX_DIGITS]; -- // For machines that decide to change the decimal on you, -- // and try to be too smart with localization. -- // This normally should be just a '.'. -- sprintf(rep, "%+1.1f", 1.0); -- gDecimal = rep[2]; -- } -- - if (isZero()) { - nonConstThis->fDouble = 0.0; - if (decNumberIsNegative(fDecNumber)) { -@@ -451,6 +454,7 @@ - } - U_ASSERT(uprv_strlen(&s[0]) < MAX_DBL_DIGITS+18); - -+ loadDecimalChar();
- if (gDecimal != '.') { - char *decimalPt = strchr(s, '.'); - if (decimalPt != NULL) { -@@ -741,6 +745,17 @@ - sprintf(rep, "%+1.*e", MAX_DBL_DIGITS - 1, source); - U_ASSERT(uprv_strlen(rep) < sizeof(rep)); - -+ // uprv_decNumberFromString() will parse the string expecting '.' as a
-+ // decimal separator, however sprintf() can use ',' in certain locales.
-+ // Overwrite a different decimal separator with '.' here before proceeding.
-+ loadDecimalChar();
-+ if (gDecimal != '.') {
-+ char *decimalPt = strchr(rep, gDecimal);
-+ if (decimalPt != NULL) {
-+ *decimalPt = '.';
-+ }
-+ }
-+
- // Create a decNumber from the string. - uprv_decNumberFromString(fDecNumber, rep, &fContext); - uprv_decNumberTrim(fDecNumber); diff --git a/dev-libs/icu/icu-4.8.1.1-r1.ebuild b/dev-libs/icu/icu-4.8.1.1-r1.ebuild deleted file mode 100644 index 56db4796d038..000000000000 --- a/dev-libs/icu/icu-4.8.1.1-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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-4.8.1.1-r1.ebuild,v 1.10 2012/06/06 03:29:24 zmedico Exp $ - -EAPI="4" - -inherit eutils versionator - -MAJOR_VERSION="$(get_version_component_range 1)" -MINOR_VERSION="$(get_version_component_range 2)" -if [[ "${PV}" =~ ^[[:digit:]]+\.[[:digit:]]+(_rc[[:digit:]]*)?$ ]]; then - MICRO_VERSION="0" -else - MICRO_VERSION="$(get_version_component_range 3)" -fi - -DESCRIPTION="International Components for Unicode" -HOMEPAGE="http://www.icu-project.org/" - -BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}" -SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz" -DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip" - -SRC_URI="${BASE_URI}/${SRC_ARCHIVE} - doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="debug doc examples static-libs" - -DEPEND="doc? ( app-arch/unzip )" -RDEPEND="" - -S="${WORKDIR}/${PN}/source" - -QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}${MINOR_VERSION}\.${MICRO_VERSION}.*" - -src_unpack() { - unpack "${SRC_ARCHIVE}" - if use doc; then - mkdir docs - pushd docs > /dev/null - unpack "${DOCS_ARCHIVE}" - popd > /dev/null - fi -} - -src_prepare() { - # Do not hardcode flags into icu-config. - # https://ssl.icu-project.org/trac/ticket/6102 - local variable - for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do - sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed" - done - - epatch \ - "${FILESDIR}/icu-4.8.1-fix_binformat_fonts.patch" \ - "${FILESDIR}/icu-4.8.1-fix_nan.patch" \ - "${FILESDIR}/icu-4.8.1.1-fix_ltr.patch" -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable examples samples) \ - $(use_enable static-libs static) -} - -src_test() { - # INTLTEST_OPTS: intltest options - # -e: Exhaustive testing - # -l: Reporting of memory leaks - # -v: Increased verbosity - # IOTEST_OPTS: iotest options - # -e: Exhaustive testing - # -v: Increased verbosity - # CINTLTST_OPTS: cintltst options - # -e: Exhaustive testing - # -v: Increased verbosity - emake -j1 check -} - -src_install() { - emake DESTDIR="${D}" install - - dohtml ../readme.html - dodoc ../unicode-license.txt - if use doc; then - insinto /usr/share/doc/${PF}/html/api - doins -r "${WORKDIR}/docs/"* - fi -} |