summaryrefslogtreecommitdiff
path: root/libicuio/README-DEV
diff options
context:
space:
mode:
Diffstat (limited to 'libicuio/README-DEV')
-rw-r--r--libicuio/README-DEV17
1 files changed, 5 insertions, 12 deletions
diff --git a/libicuio/README-DEV b/libicuio/README-DEV
index 733d50b..8cd01d9 100644
--- a/libicuio/README-DEV
+++ b/libicuio/README-DEV
@@ -2,18 +2,11 @@ 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:
+Symlink the required upstream directories into 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
+$ ln -s ../../upstream/icu4c/source/io libicuio
-Note that the patch is produces by the following command:
+Fix the 'unable to find numeric literal operator' GCC 11 error:
-$ git diff >ufile.cpp.patch
+$ cp libicuio/io/ufile.cpp libicuio
+$ patch -p0 <libicuio/ufile.cpp.patch