summaryrefslogtreecommitdiff
path: root/libicuio/README-DEV
blob: 733d50b34eaf570957212a4b9721bf87cd67e0ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This document describes how libicuio was packaged for build2. In particular,
this understanding will be useful when upgrading to a new upstream version.
See ../README-DEV for general notes on ICU packaging.

Symlink the required upstream files and directories into libicuio/io/ and
apply a patch that fixes the 'unable to find numeric literal operator' GCC 11
error:

$ mkdir libicuio/io
$ pushd libicuio/io
$ ln -s ../../../upstream/icu4c/source/io/{*.{h,cpp},unicode} ./
$ rm ufile.cpp
$ cp ../../../upstream/icu4c/source/io/ufile.cpp ./
$ git apply ufile.cpp.patch
$ popd

Note that the patch is produces by the following command:

$ git diff >ufile.cpp.patch