freetds: make build compatible with gettext 0.25

This commit is contained in:
Phillip Cloud 2025-07-14 13:06:49 -04:00
parent 4b204d26fc
commit a6886c7a6b
No known key found for this signature in database
GPG Key ID: D908212070FD785E
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git i/configure.ac w/configure.ac
index bb07bba1..c4e15d53 100644
--- i/configure.ac
+++ w/configure.ac
@@ -20,6 +20,8 @@ AM_INIT_AUTOMAKE([dist-bzip2 parallel-tests subdir-objects foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
AC_CONFIG_HEADERS(include/config.h)
AC_CONFIG_MACRO_DIR([m4])
+AM_GNU_GETTEXT_VERSION([0.25])
+AM_GNU_GETTEXT([external])
dnl configuration directory will be /usr/local/etc
AC_PREFIX_DEFAULT(/usr/local)

View File

@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
hash = "sha256-XLZsRqYKg7iihV5GYUi2+ieWLH/R3LP25dCrF+xf9t0=";
};
patches = [
./gettext-0.25.patch
];
buildInputs = [
openssl
] ++ lib.optional odbcSupport unixODBC;