summaryrefslogtreecommitdiff
path: root/libicuio/README-DEV
diff options
context:
space:
mode:
Diffstat (limited to 'libicuio/README-DEV')
-rw-r--r--libicuio/README-DEV16
1 files changed, 14 insertions, 2 deletions
diff --git a/libicuio/README-DEV b/libicuio/README-DEV
index 0e048ef..733d50b 100644
--- a/libicuio/README-DEV
+++ b/libicuio/README-DEV
@@ -2,6 +2,18 @@ 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 directories into libicuio/:
+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:
-$ ln -s ../../upstream/icu4c/source/io libicuio
+$ 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