Warning, /multimedia/kid3/packaging/patches/openssl-1.1.1-android00-setenv.patch is written in an unsupported language. File is not indexed.

0001 --- Setenv-android.sh   2018-02-10 13:37:18.181017337 +0100
0002 +++ Setenv-android.sh.new       2018-02-10 13:33:11.661974672 +0100
0003 @@ -102,7 +102,7 @@
0004  # https://android.googlesource.com/platform/ndk/+/ics-mr0/docs/STANDALONE-TOOLCHAIN.html
0005  
0006  ANDROID_TOOLCHAIN=""
0007 -for host in "linux-x86_64" "linux-x86" "darwin-x86_64" "darwin-x86"
0008 +for host in "linux-x86_64" "linux-x86" "darwin-x86_64" "darwin-x86" "windows-x86" "windows-x86_64"
0009  do
0010    if [ -d "$ANDROID_NDK_ROOT/toolchains/$_ANDROID_EABI/prebuilt/$host/bin" ]; then
0011      ANDROID_TOOLCHAIN="$ANDROID_NDK_ROOT/toolchains/$_ANDROID_EABI/prebuilt/$host/bin"
0012 @@ -124,6 +124,9 @@
0013         arch-x86)         
0014        ANDROID_TOOLS="i686-linux-android-gcc i686-linux-android-ranlib i686-linux-android-ld"
0015           ;;      
0016 +       arch-arm64)
0017 +      ANDROID_TOOLS="aarch64-linux-android-gcc aarch64-linux-android-ranlib aarch64-linux-android-ld"
0018 +         ;;
0019         *)
0020           echo "ERROR ERROR ERROR"
0021           ;;
0022 @@ -206,6 +209,14 @@
0023         export CROSS_COMPILE="i686-linux-android-"
0024  fi
0025  
0026 +if [ "$_ANDROID_ARCH" == "arch-arm64" ]; then
0027 +       export MACHINE=armv8
0028 +       export RELEASE=2.6.37
0029 +       export SYSTEM=android64
0030 +       export ARCH=arm
0031 +       export CROSS_COMPILE="aarch64-linux-android-"
0032 +fi
0033 +
0034  # For the Android toolchain
0035  # https://android.googlesource.com/platform/ndk/+/ics-mr0/docs/STANDALONE-TOOLCHAIN.html
0036  export ANDROID_SYSROOT="$ANDROID_NDK_ROOT/platforms/$_ANDROID_API/$_ANDROID_ARCH"