libandroid-support: Fix dangling extern C linkage in libintl.h
This commit is contained in:
parent
84443dd26c
commit
fa85bc7b3e
@ -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}.3
|
||||
TERMUX_PKG_VERSION=${TERMUX_NDK_VERSION}.4
|
||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||
TERMUX_PKG_ESSENTIAL=yes
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -N -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/libintl.h ./include/libintl.h
|
||||
--- /home/fornwall/lib/android-ndk/sources/android/support/include/libintl.h 1969-12-31 19:00:00.000000000 -0500
|
||||
+++ ./include/libintl.h 2014-11-27 10:50:18.306215538 -0500
|
||||
@@ -0,0 +1,35 @@
|
||||
@@ -0,0 +1,39 @@
|
||||
+#ifndef NDK_ANDROID_SUPPORT_LIBINTL_H
|
||||
+#define NDK_ANDROID_SUPPORT_LIBINTL_H
|
||||
+
|
||||
@ -36,4 +36,8 @@ diff -N -u -r /home/fornwall/lib/android-ndk/sources/android/support/include/lib
|
||||
+/* Specify the character encoding in which the messages from the DOMAINNAME message catalog will be returned. */
|
||||
+char *bind_textdomain_codeset (const char *__domainname, const char *__codeset);
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#endif // NDK_ANDROID_SUPPORT_LIBINTL_H
|
||||
|
Loading…
Reference in New Issue
Block a user