From 4ebcaa63a497d318723652cdbb5bb6a1ad032941 Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Tue, 2 Apr 2019 12:21:45 +0900 Subject: [PATCH] icu: update to 64.1 ICU 64 updates to Unicode 12 and to CLDR 35 locale data with many additions and corrections And Workaround for ICU-20531 : https://unicode-org.atlassian.net/browse/ICU-20531 Signed-off-by: Hirokazu MORIKAWA --- libs/icu/Makefile | 15 +++++++++++---- .../patches/001-change_optimization_option.patch | 13 +++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 libs/icu/patches/001-change_optimization_option.patch diff --git a/libs/icu/Makefile b/libs/icu/Makefile index 43f30d510..f7a0986f7 100644 --- a/libs/icu/Makefile +++ b/libs/icu/Makefile @@ -8,12 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=icu4c -PKG_VERSION:=63.1 +MAJOR_VERSION:=64 +MINOR_VERSION:=1 +PKG_VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION) PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-63_1-src.tgz -PKG_SOURCE_URL:=http://download.icu-project.org/files/$(PKG_NAME)/$(PKG_VERSION) -PKG_HASH:=05c490b69454fce5860b7e8e2821231674af0a11d7ef2febea9a32512998cb9d +PKG_SOURCE:=$(PKG_NAME)-$(MAJOR_VERSION)_$(MINOR_VERSION)-src.tgz +PKG_SOURCE_URL:=https://github.com/unicode-org/icu/releases/download/release-$(MAJOR_VERSION)-$(MINOR_VERSION) +PKG_HASH:=92f1b7b9d51b396679c17f35a2112423361b8da3c1b9de00aa94fd768ae296e6 PKG_LICENSE:=ICU-1.8.1+ PKG_LICENSE_FILES:=LICENSE @@ -109,6 +111,11 @@ HOST_CONFIGURE_ARGS:= \ --enable-dyload \ --prefix=$(STAGING_DIR_HOSTPKG) +define Build/Prepare + $(call Build/Prepare/Default) + mkdir -p $(PKG_BUILD_DIR)/data/out +endef + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/lib diff --git a/libs/icu/patches/001-change_optimization_option.patch b/libs/icu/patches/001-change_optimization_option.patch new file mode 100644 index 000000000..6914a0703 --- /dev/null +++ b/libs/icu/patches/001-change_optimization_option.patch @@ -0,0 +1,13 @@ +--- a/runConfigureICU ++++ b/runConfigureICU +@@ -239,8 +239,8 @@ + THE_COMP="the GNU C++" + CC=gcc; export CC + CXX=g++; export CXX +- RELEASE_CFLAGS='-O3' +- RELEASE_CXXFLAGS='-O3' ++ RELEASE_CFLAGS=' ' ++ RELEASE_CXXFLAGS=' ' + DEBUG_CFLAGS='-g' + DEBUG_CXXFLAGS='-g' + ;;