libandroid-support: Fix crash on android m preview
authorFredrik Fornwall <fredrik@fornwall.net>
Sat, 11 Jul 2015 09:56:01 +0000 (05:56 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Sat, 11 Jul 2015 09:56:01 +0000 (05:56 -0400)
packages/libandroid-support/build.sh

index 7971237..1efb9ae 100755 (executable)
@@ -1,7 +1,7 @@
 TERMUX_PKG_HOMEPAGE=https://developer.android.com/tools/sdk/ndk/index.html
 TERMUX_PKG_DESCRIPTION="Library extending the Android C library (Bionic) for additional multibyte, locale and math support"
 # Increase last digit each time a patch changes.
-TERMUX_PKG_VERSION=${TERMUX_NDK_VERSION}
+TERMUX_PKG_VERSION=${TERMUX_NDK_VERSION}.3
 TERMUX_PKG_BUILD_IN_SRC=yes
 TERMUX_PKG_ESSENTIAL=yes
 
@@ -23,7 +23,8 @@ termux_step_post_extract_package () {
                        src/musl-locale/strcoll_l.c \
                        src/musl-locale/strxfrm_l.c \
                        src/musl-locale/wcscoll_l.c \
-                       src/musl-locale/wcsxfrm_l.c
+                       src/musl-locale/wcsxfrm_l.c \
+                       src/locale/uselocale.c
        fi
 }