aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/glib/libintl.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/glib/libintl.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/glib/libintl.patch')
-rw-r--r--vcpkg/ports/glib/libintl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/glib/libintl.patch b/vcpkg/ports/glib/libintl.patch
new file mode 100644
index 0000000..48a518e
--- /dev/null
+++ b/vcpkg/ports/glib/libintl.patch
@@ -0,0 +1,17 @@
+diff --git a/meson.build b/meson.build
+--- a/meson.build
++++ b/meson.build
+@@ -2134,10 +2135,10 @@ libz_dep = dependency('zlib')
+ # proxy-libintl subproject.
+ # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
+ # implementations. This could be extended if issues are found in some platforms.
+-libintl_deps = []
+ libintl_prefix = '#include <libintl.h>'
+-libintl = dependency('intl', required: false)
+-if libintl.found() and libintl.type_name() != 'internal'
++libintl = dependency('intl', required : true)
++libintl_deps = [libintl]
++if false
+ # libintl supports different threading APIs, which may not
+ # require additional flags, but it defaults to using pthreads if
+ # found. Meson's "threads" dependency does not allow you to