michael@0: # Usage: ./update.sh michael@0: # michael@0: # Copies the needed files from a directory containing the original michael@0: # double-conversion source that we need. michael@0: michael@0: # This was last updated with git rev 04cae7a8d5ef3d62ceffb03cdc3d38f258457a52. michael@0: michael@0: set -e michael@0: michael@0: cp $1/LICENSE ./ michael@0: cp $1/README ./ michael@0: michael@0: # Includes michael@0: cp $1/src/*.h ./ michael@0: michael@0: # Source michael@0: cp $1/src/*.cc ./ michael@0: michael@0: patch -p3 < add-mfbt-api-markers.patch michael@0: patch -p3 < use-StandardInteger.patch michael@0: patch -p3 < use-mozilla-assertions.patch michael@0: patch -p3 < use-static_assert.patch michael@0: patch -p3 < ToPrecision-exponential.patch michael@0: patch -p3 < fix-gcc-warnings.patch michael@0: michael@0: # Merged upstream, part of 2.0.1 version michael@0: patch -p3 < fix-aarch64-macro.patch