mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
4d2df383d2
Fix imported from upstream repository: https://code.google.com/p/double-conversion/source/detail?r=4e24bb31bcc76d6d218f3056b4c24a109d367561
27 lines
619 B
Bash
Executable File
27 lines
619 B
Bash
Executable File
# Usage: ./update.sh <double-conversion-src-directory>
|
|
#
|
|
# Copies the needed files from a directory containing the original
|
|
# double-conversion source that we need.
|
|
|
|
# This was last updated with git rev 04cae7a8d5ef3d62ceffb03cdc3d38f258457a52.
|
|
|
|
set -e
|
|
|
|
cp $1/LICENSE ./
|
|
cp $1/README ./
|
|
|
|
# Includes
|
|
cp $1/src/*.h ./
|
|
|
|
# Source
|
|
cp $1/src/*.cc ./
|
|
|
|
patch -p3 < add-mfbt-api-markers.patch
|
|
patch -p3 < use-StandardInteger.patch
|
|
patch -p3 < use-mozilla-assertions.patch
|
|
patch -p3 < use-static_assert.patch
|
|
patch -p3 < ToPrecision-exponential.patch
|
|
|
|
# Merged upstream, part of 2.0.1 version
|
|
patch -p3 < fix-aarch64-macro.patch
|