[Bug 265180] www/chromium: actually use the system-installed ICU
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 265180] www/chromium: actually use the system-installed ICU"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Jul 2022 18:08:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265180
Mikhail T. <mi@ALDAN.algebra.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|Closed |Open
--- Comment #7 from Mikhail T. <mi@ALDAN.algebra.com> ---
The committed change is insufficient -- instead of using the headers installed
by devel/icu, the port still uses the bundled ones.
A simple experiment:
1. make patch
2. Edit the ${WRKSRC}/third_party/icu/source/common/unicode/utypes.h to insert
the line at the beginning:
#error Meow-meow
3. make
4. Observe the build failing with:
../../third_party/icu/source/common/unicode/utypes.h:1:2: error: Meow-meow
As I mentioned in Comment #5, this -- taking declarations from one source and
definitions from another -- is dangerous.
Please, consider using my patch -- or some derivative thereof -- instead.
--
You are receiving this mail because:
You are the assignee for the bug.