2012-03-19 20:21:05 +04:00
|
|
|
# Usage: ./update.sh <double-conversion-src-directory>
|
|
|
|
#
|
|
|
|
# Copies the needed files from a directory containing the original
|
|
|
|
# double-conversion source that we need.
|
|
|
|
|
2013-06-28 03:25:32 +04:00
|
|
|
# This was last updated with git rev 04cae7a8d5ef3d62ceffb03cdc3d38f258457a52.
|
2012-10-30 23:30:08 +04:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2012-03-19 20:21:05 +04:00
|
|
|
cp $1/LICENSE ./
|
|
|
|
cp $1/README ./
|
|
|
|
|
|
|
|
# Includes
|
|
|
|
cp $1/src/*.h ./
|
|
|
|
|
|
|
|
# Source
|
|
|
|
cp $1/src/*.cc ./
|
|
|
|
|
|
|
|
patch -p3 < add-mfbt-api-markers.patch
|
2012-04-27 13:40:05 +04:00
|
|
|
patch -p3 < use-StandardInteger.patch
|
2013-06-28 03:25:42 +04:00
|
|
|
patch -p3 < use-mozilla-assertions.patch
|
2013-09-30 08:18:26 +04:00
|
|
|
patch -p3 < use-static_assert.patch
|
2013-11-07 21:46:05 +04:00
|
|
|
patch -p3 < ToPrecision-exponential.patch
|