mfbt/double-conversion/update.sh

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rwxr-xr-x

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 # Usage: ./update.sh <double-conversion-src-directory>
michael@0 2 #
michael@0 3 # Copies the needed files from a directory containing the original
michael@0 4 # double-conversion source that we need.
michael@0 5
michael@0 6 # This was last updated with git rev 04cae7a8d5ef3d62ceffb03cdc3d38f258457a52.
michael@0 7
michael@0 8 set -e
michael@0 9
michael@0 10 cp $1/LICENSE ./
michael@0 11 cp $1/README ./
michael@0 12
michael@0 13 # Includes
michael@0 14 cp $1/src/*.h ./
michael@0 15
michael@0 16 # Source
michael@0 17 cp $1/src/*.cc ./
michael@0 18
michael@0 19 patch -p3 < add-mfbt-api-markers.patch
michael@0 20 patch -p3 < use-StandardInteger.patch
michael@0 21 patch -p3 < use-mozilla-assertions.patch
michael@0 22 patch -p3 < use-static_assert.patch
michael@0 23 patch -p3 < ToPrecision-exponential.patch
michael@0 24 patch -p3 < fix-gcc-warnings.patch
michael@0 25
michael@0 26 # Merged upstream, part of 2.0.1 version
michael@0 27 patch -p3 < fix-aarch64-macro.patch

mercurial