From 68f94a992eee6595be8865379e0c9714b2fda15f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 4 Oct 2021 22:16:32 +0200 Subject: [PATCH] - djmount: add patch by max10 to fix build with gettext 0.20.x --- .../0011-fix-build-with-gettext-0.20.x.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/djmount/patches/0011-fix-build-with-gettext-0.20.x.patch diff --git a/package/djmount/patches/0011-fix-build-with-gettext-0.20.x.patch b/package/djmount/patches/0011-fix-build-with-gettext-0.20.x.patch new file mode 100644 index 00000000..b3f4beee --- /dev/null +++ b/package/djmount/patches/0011-fix-build-with-gettext-0.20.x.patch @@ -0,0 +1,21 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -17,7 +17,7 @@ AC_CONFIG_MACRO_DIR(m4) + + AC_CONFIG_SRCDIR(djmount/djfs.c) + +-AM_INIT_AUTOMAKE([1.9 -Wall std-options gnu]) ++AM_INIT_AUTOMAKE([1.9 -Wall subdir-objects std-options gnu foreign]) + + AC_CONFIG_HEADERS(config.h) + +@@ -191,7 +191,8 @@ if test x"$enable_charset" = xyes; then + # Checks for function in C library or libiconv + # (AM macros from "gettext" package) + AM_ICONV +- AM_LANGINFO_CODESET ++# AM_LANGINFO_CODESET ++ AM_GNU_GETTEXT([external]) + # TBD print warning if no setlocale or nl_langinfo(CODESET) implemented + fi + AM_CONDITIONAL(WANT_ICONV,