nsprpub/build/autoconf/patches/config.sub.patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nsprpub/build/autoconf/patches/config.sub.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,51 @@
     1.4 +--- config.sub.orig	2014-03-09 18:34:03 -0700
     1.5 ++++ config.sub	2014-03-14 19:49:48 -0700
     1.6 +@@ -115,7 +115,7 @@
     1.7 + # Here we must recognize all the valid KERNEL-OS combinations.
     1.8 + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
     1.9 + case $maybe_os in
    1.10 +-  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
    1.11 ++  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | \
    1.12 +   linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
    1.13 +   knetbsd*-gnu* | netbsd*-gnu* | \
    1.14 +   kopensolaris*-gnu* | \
    1.15 +@@ -123,10 +123,6 @@
    1.16 +     os=-$maybe_os
    1.17 +     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    1.18 +     ;;
    1.19 +-  android-linux)
    1.20 +-    os=-linux-android
    1.21 +-    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
    1.22 +-    ;;
    1.23 +   *)
    1.24 +     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
    1.25 +     if [ $basic_machine != $1 ]
    1.26 +@@ -1367,7 +1363,7 @@
    1.27 + 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    1.28 + 	      | -chorusos* | -chorusrdb* | -cegcc* \
    1.29 + 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1.30 +-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
    1.31 ++	      | -mingw32* | -mingw64* | -linux-gnu* \
    1.32 + 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
    1.33 + 	      | -uxpv* | -beos* | -mpeix* | -udk* \
    1.34 + 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    1.35 +@@ -1508,6 +1504,9 @@
    1.36 + 		;;
    1.37 + 	-nacl*)
    1.38 + 		;;
    1.39 ++	-android*)
    1.40 ++		os=-android
    1.41 ++		;;
    1.42 + 	-none)
    1.43 + 		;;
    1.44 + 	*)
    1.45 +@@ -1777,6 +1776,9 @@
    1.46 + 			-vos*)
    1.47 + 				vendor=stratus
    1.48 + 				;;
    1.49 ++			*-android*|*-linuxandroid*)
    1.50 ++				vendor=linux-
    1.51 ++				;;
    1.52 + 		esac
    1.53 + 		basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
    1.54 + 		;;

mercurial