aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxpm/fix-dependency-gettext.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/libxpm/fix-dependency-gettext.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libxpm/fix-dependency-gettext.patch')
-rw-r--r--vcpkg/ports/libxpm/fix-dependency-gettext.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/libxpm/fix-dependency-gettext.patch b/vcpkg/ports/libxpm/fix-dependency-gettext.patch
new file mode 100644
index 0000000..05e3156
--- /dev/null
+++ b/vcpkg/ports/libxpm/fix-dependency-gettext.patch
@@ -0,0 +1,15 @@
+diff --git a/configure.ac b/configure.ac
+index 365544b..51bc0f2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -30,7 +30,9 @@ PKG_CHECK_MODULES(SXPM, [x11 xt xext xextproto xproto >= 7.0.17],
+ AM_CONDITIONAL(BUILD_SXPM, test x$build_sxpm = xtrue)
+
+ # Internationalization & localization support
+-AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"])
++AC_ARG_WITH([gettext], AC_HELP_STRING([--with-gettext],
++ [Use gettext, default is no]),
++ [USE_GETTEXT=${withval}])
+ AC_MSG_CHECKING([where to install localized messages])
+ AC_ARG_WITH([localedir], AS_HELP_STRING([--with-localedir=<path>],
+ [Path to install message files in (default: datadir/locale)]),