vcpkg/ports/gettext/android.patch
Matthias Kuhn f7612e6e14
[gettext] Fix building for android (#18128)
* Fix building gettext for android

Taken from https://github.com/navit-gps/navit/pull/1087/files

* Bump gettext port version
2021-06-09 15:49:39 -07:00

13 lines
443 B
Diff

diff --color -ruN a/gettext-runtime/intl/dcigettext.c src/gettext-runtime/intl/dcigettext.c
--- a/gettext-runtime/intl/dcigettext.c 2021-05-26 16:27:55.420544597 +0200
+++ src/gettext-runtime/intl/dcigettext.c 2021-05-26 16:29:14.546516701 +0200
@@ -143,7 +143,7 @@
# else
# if VMS
# define getcwd(buf, max) (getcwd) (buf, max, 0)
-# else
+# elif !(defined(__clang__) && defined(__BIONIC_FORTIFY))
char *getcwd ();
# endif
# endif