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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 --- config.sub.orig 2014-03-09 18:34:03 -0700
michael@0 2 +++ config.sub 2014-03-14 19:49:48 -0700
michael@0 3 @@ -115,7 +115,7 @@
michael@0 4 # Here we must recognize all the valid KERNEL-OS combinations.
michael@0 5 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
michael@0 6 case $maybe_os in
michael@0 7 - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
michael@0 8 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | \
michael@0 9 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
michael@0 10 knetbsd*-gnu* | netbsd*-gnu* | \
michael@0 11 kopensolaris*-gnu* | \
michael@0 12 @@ -123,10 +123,6 @@
michael@0 13 os=-$maybe_os
michael@0 14 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
michael@0 15 ;;
michael@0 16 - android-linux)
michael@0 17 - os=-linux-android
michael@0 18 - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
michael@0 19 - ;;
michael@0 20 *)
michael@0 21 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
michael@0 22 if [ $basic_machine != $1 ]
michael@0 23 @@ -1367,7 +1363,7 @@
michael@0 24 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
michael@0 25 | -chorusos* | -chorusrdb* | -cegcc* \
michael@0 26 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
michael@0 27 - | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
michael@0 28 + | -mingw32* | -mingw64* | -linux-gnu* \
michael@0 29 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
michael@0 30 | -uxpv* | -beos* | -mpeix* | -udk* \
michael@0 31 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
michael@0 32 @@ -1508,6 +1504,9 @@
michael@0 33 ;;
michael@0 34 -nacl*)
michael@0 35 ;;
michael@0 36 + -android*)
michael@0 37 + os=-android
michael@0 38 + ;;
michael@0 39 -none)
michael@0 40 ;;
michael@0 41 *)
michael@0 42 @@ -1777,6 +1776,9 @@
michael@0 43 -vos*)
michael@0 44 vendor=stratus
michael@0 45 ;;
michael@0 46 + *-android*|*-linuxandroid*)
michael@0 47 + vendor=linux-
michael@0 48 + ;;
michael@0 49 esac
michael@0 50 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
michael@0 51 ;;

mercurial