Issue #1288 - Part 4: Update the OpenType Sanitizer component to 8.0.0

This commit is contained in:
wolfbeast 2019-11-14 10:07:01 +01:00 • committed by Roy Tam
commit 207b043e1c
102 changed files with 10962 additions and 3291 deletions

View file

@ -20,10 +20,19 @@ echo "Updating include..."
rm -rf include/
cp -r $1/include .
echo "Updating tests..."
rm -rf tests/*
mkdir -p tests
cp -r $1/tests/*.cc tests
echo "Updating README.mozilla..."
REVISION=`cd $1; git log | head -1 | sed "s/commit //"`
sed -e "s/\(Current revision: \).*/\1$REVISION/" README.mozilla > README.tmp
VERSION=`cd $1; git describe | cut -d '-' -f 1 | sed 's/v//'`
sed -e "s/\(Current revision: \).*/\1$REVISION \($VERSION\)/" README.mozilla > README.tmp
mv README.tmp README.mozilla
echo "Applying ots-visibility.patch..."
patch -p3 < ots-visibility.patch
echo "Applying ots-lz4.patch..."
patch -p3 < ots-lz4.patch