author cku <>
Mon, 15 May 2017 19:42:57 -0500
changeset 406618 1b51aa9afd06b56998da103ae853db5cac04ad8f
parent 342694 4e6dd91cd5823834a7da0394367609a1640dfb11
child 498140 0203e34e995060ce1fb3abbe5c5b6f8b2fc76ba7
permissions -rwxr-xr-x
servo: Merge #16864 - Stylo: Change mask-repeat initial value from no-repeat to repeat (from CJKu:bug-1364273); r=heycam <!-- Please describe your changes on the following line: --> Change mask-repeat initial value from no-repeat to repeat. Gecko bug link: --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: Source-Revision: 5403c2fff0877ba8833262fde191a3e205ddd247


set -v -e -x

if [ $# -lt 1 ]; then
  echo "Usage: /path/to/libjpeg-turbo/ [tag]"
  exit 1

srcdir=`realpath $(dirname $0)`
rm -rf $srcdir/libjpeg


(cd $repo; git archive --prefix=media/libjpeg/ $tag) | (cd $srcdir/..; tar xf -)

cd $srcdir/libjpeg
cp win/ simd/

revert_files="1050342.diff jconfig.h jconfigint.h MOZCHANGES mozilla.diff simd/"
if test -d ${topsrcdir}/.hg; then
    hg revert --no-backup $revert_files
elif test -d ${topsrcdir}/.git; then
    git checkout HEAD -- $revert_files

patch -p0 -i mozilla.diff
patch -p0 -i 1050342.diff