mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 20:13:07 +08:00
[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
This commit is contained in:
parent
f6eb4c50ba
commit
f7612e6e14
12
ports/gettext/android.patch
Normal file
12
ports/gettext/android.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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
|
@ -28,6 +28,7 @@ vcpkg_extract_source_archive_ex(
|
||||
0002-Fix-uwp-build.patch
|
||||
0003-Fix-win-unicode-paths.patch
|
||||
rel_path.patch
|
||||
android.patch
|
||||
${PATCHES}
|
||||
)
|
||||
vcpkg_find_acquire_program(BISON)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "gettext",
|
||||
"version": "0.21",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "The GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Provides libintl.",
|
||||
"homepage": "https://www.gnu.org/software/gettext/",
|
||||
"dependencies": [
|
||||
|
@ -2242,7 +2242,7 @@
|
||||
},
|
||||
"gettext": {
|
||||
"baseline": "0.21",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"gettimeofday": {
|
||||
"baseline": "2017-10-14-3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "33c7af8451faeef94c8a06cb41b71dce144d6fba",
|
||||
"version": "0.21",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "7aba831bc44964ac3d3767392b037e30b06d897e",
|
||||
"version": "0.21",
|
||||
|
Loading…
Reference in New Issue
Block a user