2019-06-15 20:39:39 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
# Ensure that $Date$ in the checked-out git files expands timezone-agnostically,
|
|
|
|
|
# so that this script's behavior is consistent when run from any time zone.
|
|
|
|
|
export TZ=UTC
|
|
|
|
|
|
|
|
|
|
# Also ensure GIT-INFO is consistently English.
|
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
|
export LANGUAGE=en_US
|
|
|
|
|
export LC_ALL=en_US.UTF-8
|
|
|
|
|
|
|
|
|
|
icu_dir=`dirname $0`/icu
|
|
|
|
|
|
|
|
|
|
for patch in \
|
|
|
|
|
bug-915735 \
|
|
|
|
|
suppress-warnings.diff \
|
|
|
|
|
bug-1172609-timezone-recreateDefault.diff \
|
|
|
|
|
bug-1198952-workaround-make-3.82-bug.diff \
|
2022-07-25 14:07:36 +08:00
|
|
|
bug-1504656-relativetimeformat-plural-other-fallback.diff \
|
2019-06-15 20:39:39 +02:00
|
|
|
; do
|
|
|
|
|
echo "Applying local patch $patch"
|
|
|
|
|
patch -d ${icu_dir}/../../ -p1 --no-backup-if-mismatch < ${icu_dir}/../icu-patches/$patch
|
|
|
|
|
done
|
2022-07-25 14:07:36 +08:00
|
|
|
|