72 Commits

Author SHA1 Message Date
ajacoutot
a3534dbf4f Major update to icu4c-63.1.
Tested on an amd64 bulk.
If it breaks on other archs, feel free to put me in the loop for fixing.
2018-12-09 21:00:26 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
jsg
d34d7002e1 Enable the stack protector again on arm. It was disabled when armv7
used gcc 4.2, this builds fine after the switch to clang.
2018-07-13 02:57:07 +00:00
sthen
5eb473200e Switch icu4c back to --with-data-packaging=archive to place the data in
a separate file rather than directly in icudata.so to avoid the symbol
size warnings from ld.so.

As this data file is needed at runtime, provide a subpackage containing
a second copy installed under /var/www for use with chrooted web
applications (notably php-intl) that use icu4c. (Applications using
chroot jails other than /var/www will need a further copy of the data
file).

Feedback/ok ajacoutot@, bumps to follow.
2017-08-24 09:44:34 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
ajacoutot
184fb78a72 Reinstate -finhibit-size-directive when using gcc. It was the removal of that
patch that triggered the symbol(icudt58_dat) size mismatch warning...
We can now use --with-data-packaging=archive only on powerpc and arm which means
using php-intl or anything linked to icu in a chroot will work.
2017-06-07 16:25:18 +00:00
ajacoutot
a572568b5b No more sparc. 2017-06-07 09:58:30 +00:00
ajacoutot
f687c2b5b7 Spring cleaning:
* as per upstream recommendation
  - use --with-data-packaging=archive on all archs
  - pass -DICU_NO_USER_DATA_OVERRIDE
  - pass --disable-renaming (fixes the infamous symbol mismatch)
* don't duplicate libicutest installation
* don't strip static libraries (from FreeBSD)
* when not in POSIX/C mode, assume UTF-8 by default like Darwin (from FreeBSD)
* sync config/mh-bsd-gcc with config/mh-linux
* build extra tool
* remove uneeded patches / chunks
* bump major
2017-05-24 15:44:42 +00:00
ajacoutot
e8c8b29653 SECURITY fix for CVE-2017-7867 and CVE-2017-7868.
Merged from upstream with help from espie@
2017-04-25 20:10:02 +00:00
sthen
073d25a37c use LIBCXX 2017-04-10 11:46:32 +00:00
ajacoutot
e4e2c45d2c Needs a shared_libs bump.
reported by jca@
2017-03-04 10:51:00 +00:00
ajacoutot
0fa89b02a6 Update to icu4c-58.2. 2017-02-28 09:24:58 +00:00
naddy
e63c503269 Stop adding -finhibit-size-directive to the stubdata build. This appears
to have become obsolete sometime in the last ten years, and clang does
not support -finhibit-size-directive.  ok ajacoutot@
2017-02-25 14:59:55 +00:00
ajacoutot
0b2c296c67 Update to icu4c-58.1. 2016-12-05 16:15:56 +00:00
ajacoutot
178f2bb8ff Update to icu4c-57.1. 2016-04-11 09:46:48 +00:00
naddy
ce859edcb4 garbage collect CONFIGURE_SHARED 2016-03-11 20:28:21 +00:00
jsg
5c83b42079 Set CXXFLAGS as well as CFLAGS for the arm workaround to fix the build
on arm.

ok jca@ aja@
2015-12-29 12:38:27 +00:00
ajacoutot
5b5a027800 Remove the mips64 -Bsymbolic workaround now that the linker has been fixed.
from Brad, ok jasper@
2015-12-26 09:43:11 +00:00
zhuk
9ec146a2f7 Add -nodefaultlibs -nostdlib to linker for shared libraries, like it's
already done in icu4c on Linux.

Needed for upcoming poppler-qt5.

tested/okay by aja@ and kili@
2015-12-11 13:07:12 +00:00
ajacoutot
dd9d378847 Update to icu4c-56.1. 2015-11-10 06:49:07 +00:00
jasper
e32922a8b1 sed -i 2015-10-09 12:48:21 +00:00
ajacoutot
9450808aee Unbreak build on mips.
Drop DIST_SUBDIR while here.

reported and tested by miod@
2015-06-01 06:58:00 +00:00
ajacoutot
576d2fe96a Update to icu4c-55.1. 2015-04-25 10:16:15 +00:00
ajacoutot
3a88f03f32 SECURITY fixes for:
CVE-2014-6585
CVE-2014-6591
CVE-2014-7923
CVE-2014-7926
CVE-2014-9654
2015-04-19 09:02:06 +00:00
ajacoutot
204c31696e Drop -Wl,-Bsymbolic on mips64* because of a binutils bug.
based on a patch by Donovan Watteau
2015-01-03 07:53:00 +00:00
ajacoutot
a175c1a0c2 Move previous where it belongs. 2014-11-03 12:29:31 +00:00
dcoppa
0e36913a7b Unbreak icu4c on arm by re-adding a workaround that was removed
with previous commit

Reported by, and ok, matthieu@
2014-11-03 12:22:10 +00:00
dcoppa
ea820b9004 Add TEST_ENV vars 2014-10-17 12:36:33 +00:00
ajacoutot
3d47a7d866 Rework this port and add --with-data-packaging=archive for powerpc and
arm to unbreak.

--with-data-packaging fix from dcoppa@
2014-10-17 08:35:10 +00:00
ajacoutot
5e382fc2cc The icu4c 54.1 source distfile has been updated to include pre-built data.
reported by Nathanael Rensen
2014-10-04 07:46:28 +00:00
ajacoutot
c4691c4058 Update to icu4c-54.1. 2014-10-03 06:44:17 +00:00
miod
aaaf81a6dd Add a bunch of NOT_FOR_ARCHS and BROKEN- annotations, either for all gcc3
platforms (due to compiler deficiencies) or m88k only (due to toolchain
issues leading to libGL not being available).
2014-09-16 19:56:09 +00:00
ajacoutot
f41b98800d Update to icu4c-53.1. 2014-04-03 14:50:27 +00:00
ajacoutot
6b2d288032 Update to icu4c-52.1. 2013-10-15 13:35:54 +00:00
ajacoutot
95d85e99e9 Update to icu4c-51.2. 2013-06-01 14:22:34 +00:00
sthen
21dcdad850 Replace BROKEN-arm with arch-conditional "CFLAGS += -O1 -fno-stack-protector".
Big thanks to miod@ for tracking down the area in which the problem lies
and suggesting this workaround.

Unbreaks a big chunk of the ports tree on arm.
2013-04-12 17:39:57 +00:00
sthen
4ec8a0a0a5 mark BROKEN on arm. 2013-04-08 15:54:11 +00:00
ajacoutot
24f9d701f0 Update to icu4c-51.1. 2013-03-24 10:28:35 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
ajacoutot
f3cfc52833 Minor update to icu4c-50.1.2. 2013-01-23 18:08:55 +00:00
ajacoutot
018bac92bd Maintenance update to icu4c-50.1.1. 2013-01-05 13:16:05 +00:00
ajacoutot
c4506558a5 Update to icu4c-50.1.
big thank to landry@ for testing this in a bulk
2012-12-08 13:18:46 +00:00
sthen
20337fd622 mark icu4c for parallel builds; lets libreoffice and webkit get started sooner 2012-09-26 19:49:39 +00:00
jasper
73450cbf84 - remove -lpthread related patches/chunks. 2012-09-21 13:17:45 +00:00
ajacoutot
cf56c00b44 Fix RCS ids, no pkg change. 2012-07-13 07:23:20 +00:00
ajacoutot
4ad1879c15 Unbreak on sparc.
spotted by sebastia@
2012-07-09 22:50:18 +00:00
ajacoutot
2aea829618 Fix build on big endian platforms.
breakage reported by Markus Lude
2012-07-05 10:05:34 +00:00
landry
354048edd9 Fix build on hppa, don't assume we have gcc atomics depending on a given
GNUC version. Fallback to mutex code on hppa.
2012-07-04 09:03:16 +00:00
landry
160ba5d561 Previous maintainer agreed (between two drinks) he was not really taking
care of it. ajacoutot@ takes maintainership.
2012-06-22 09:51:22 +00:00