mfbt/double-conversion/update.sh

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mfbt/double-conversion/update.sh	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# Usage: ./update.sh <double-conversion-src-directory>
     1.5 +#
     1.6 +# Copies the needed files from a directory containing the original
     1.7 +# double-conversion source that we need.
     1.8 +
     1.9 +# This was last updated with git rev 04cae7a8d5ef3d62ceffb03cdc3d38f258457a52.
    1.10 +
    1.11 +set -e
    1.12 +
    1.13 +cp $1/LICENSE ./
    1.14 +cp $1/README ./
    1.15 +
    1.16 +# Includes
    1.17 +cp $1/src/*.h ./
    1.18 +
    1.19 +# Source
    1.20 +cp $1/src/*.cc ./
    1.21 +
    1.22 +patch -p3 < add-mfbt-api-markers.patch
    1.23 +patch -p3 < use-StandardInteger.patch
    1.24 +patch -p3 < use-mozilla-assertions.patch
    1.25 +patch -p3 < use-static_assert.patch
    1.26 +patch -p3 < ToPrecision-exponential.patch
    1.27 +patch -p3 < fix-gcc-warnings.patch
    1.28 +
    1.29 +# Merged upstream, part of 2.0.1 version
    1.30 +patch -p3 < fix-aarch64-macro.patch

mercurial