From 29827fde524a42fe343b32ea3c2f543e9ed3ee55 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 15 Feb 2020 03:27:02 +0300 Subject: Release version 65.1.0+1 Drop copyright notice from source code Convert libicuuc test from C to C++ so it can link library statically Drop linking -lpthread and -lm for MinGW GCC --- libicuuc/libicu/buildfile | 13 ++++++++----- libicuuc/libicu/data/brkitr.c | 1 - libicuuc/libicu/data/coll.c | 1 - libicuuc/libicu/data/config.h | 1 - libicuuc/libicu/data/curr.c | 1 - libicuuc/libicu/data/icudt_dat.c | 1 - libicuuc/libicu/data/lang.c | 1 - libicuuc/libicu/data/other.c | 1 - libicuuc/libicu/data/rbnf.c | 1 - libicuuc/libicu/data/region.c | 1 - libicuuc/libicu/data/unit.c | 1 - libicuuc/libicu/data/zone.c | 1 - 12 files changed, 8 insertions(+), 16 deletions(-) (limited to 'libicuuc/libicu') diff --git a/libicuuc/libicu/buildfile b/libicuuc/libicu/buildfile index 6131811..b54b35b 100644 --- a/libicuuc/libicu/buildfile +++ b/libicuuc/libicu/buildfile @@ -1,5 +1,4 @@ # file : libicu/buildfile -# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd # license : Unicode License; see accompanying LICENSE file ./: lib{icuuc} lib{icudata} @@ -45,8 +44,8 @@ switch $tclass, $tsys # uc/uposixdefs.h for details). This results with compilation errors for # some source files when build on MacOS with gcc (as of 9.2; GCC issues # 93151 and 93469 are reported). We workaround the issue disabling this - # POSIX compliance request for the faulty source files (luckily they don't - # require such a compliance). + # POSIX compliance request for the faulty source files (luckily the + # request is redundant for them). # if ($cxx.id == 'gcc') uc/obj{putil umapfile}: cxx.poptions += -D_XOPEN_SOURCE=400 @@ -130,8 +129,12 @@ switch $tclass, $tsys } case 'windows', 'mingw32' { - cc.loptions += -Wl,-Bsymbolic -Wl,--enable-auto-import - cxx.libs += -lpthread -lm + # Note that upstream also passes -mthreads (thread-safe exception + # handling) that we omit as ICU never throws exceptions (see ICU FAQs for + # details). We also omit -lpthread -lm that seems to be redundant. + # + cc.loptions += -Wl,-Bsymbolic -Wl,--enable-auto-import \ + -Wl,--no-undefined # Make sure all symbols are resolvable. } case 'windows' { diff --git a/libicuuc/libicu/data/brkitr.c b/libicuuc/libicu/data/brkitr.c index 684de02..5d1267d 100644 --- a/libicuuc/libicu/data/brkitr.c +++ b/libicuuc/libicu/data/brkitr.c @@ -1,5 +1,4 @@ /* file : libicu/data/brkitr.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/coll.c b/libicuuc/libicu/data/coll.c index 79bfe3b..c220030 100644 --- a/libicuuc/libicu/data/coll.c +++ b/libicuuc/libicu/data/coll.c @@ -1,5 +1,4 @@ /* file : libicu/data/coll.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/config.h b/libicuuc/libicu/data/config.h index 67589f4..657b2cf 100644 --- a/libicuuc/libicu/data/config.h +++ b/libicuuc/libicu/data/config.h @@ -1,5 +1,4 @@ /* file : libicu/data/config.h -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/curr.c b/libicuuc/libicu/data/curr.c index 57401fc..b849c34 100644 --- a/libicuuc/libicu/data/curr.c +++ b/libicuuc/libicu/data/curr.c @@ -1,5 +1,4 @@ /* file : libicu/data/curr.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/icudt_dat.c b/libicuuc/libicu/data/icudt_dat.c index 3e5fd7c..90416e2 100644 --- a/libicuuc/libicu/data/icudt_dat.c +++ b/libicuuc/libicu/data/icudt_dat.c @@ -1,5 +1,4 @@ /* file : libicu/data/icudt_dat.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/lang.c b/libicuuc/libicu/data/lang.c index 57d24c3..9b6f8f6 100644 --- a/libicuuc/libicu/data/lang.c +++ b/libicuuc/libicu/data/lang.c @@ -1,5 +1,4 @@ /* file : libicu/data/lang.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/other.c b/libicuuc/libicu/data/other.c index ef20453..bedd6c6 100644 --- a/libicuuc/libicu/data/other.c +++ b/libicuuc/libicu/data/other.c @@ -1,5 +1,4 @@ /* file : libicu/data/other.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/rbnf.c b/libicuuc/libicu/data/rbnf.c index d99f21d..955e7bc 100644 --- a/libicuuc/libicu/data/rbnf.c +++ b/libicuuc/libicu/data/rbnf.c @@ -1,5 +1,4 @@ /* file : libicu/data/rbnf.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/region.c b/libicuuc/libicu/data/region.c index 373106b..25ea235 100644 --- a/libicuuc/libicu/data/region.c +++ b/libicuuc/libicu/data/region.c @@ -1,5 +1,4 @@ /* file : libicu/data/region.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/unit.c b/libicuuc/libicu/data/unit.c index e520707..9302285 100644 --- a/libicuuc/libicu/data/unit.c +++ b/libicuuc/libicu/data/unit.c @@ -1,5 +1,4 @@ /* file : libicu/data/unit.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ diff --git a/libicuuc/libicu/data/zone.c b/libicuuc/libicu/data/zone.c index b669cd2..7116b7d 100644 --- a/libicuuc/libicu/data/zone.c +++ b/libicuuc/libicu/data/zone.c @@ -1,5 +1,4 @@ /* file : libicu/data/zone.c -*- C -*- - * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd * license : Unicode License; see accompanying LICENSE file */ -- cgit v1.1