diff --git a/pkgs/by-name/sn/sniproxy/gettext-0.25.patch b/pkgs/by-name/sn/sniproxy/gettext-0.25.patch new file mode 100644 index 000000000000..9ca8353ad854 --- /dev/null +++ b/pkgs/by-name/sn/sniproxy/gettext-0.25.patch @@ -0,0 +1,14 @@ +diff --git a/configure.ac b/configure.ac +index cac74f1..a6bc935 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -9,6 +9,9 @@ AM_INIT_AUTOMAKE([subdir-objects]) + AM_SILENT_RULES([yes]) + AC_GNU_SOURCE + ++AM_GNU_GETTEXT_VERSION([0.25]) ++AM_GNU_GETTEXT([external]) ++ + # Checks for programs. + AC_PROG_CC_C99 + # Required by automake < 1.14 diff --git a/pkgs/by-name/sn/sniproxy/package.nix b/pkgs/by-name/sn/sniproxy/package.nix index 9714d6de36d1..9bc9fef31e34 100644 --- a/pkgs/by-name/sn/sniproxy/package.nix +++ b/pkgs/by-name/sn/sniproxy/package.nix @@ -21,6 +21,10 @@ stdenv.mkDerivation rec { sha256 = "sha256-htM9CrzaGnn1dnsWQ+0V6N65Og7rsFob3BlSc4UGfFU="; }; + patches = [ + ./gettext-0.25.patch + ]; + nativeBuildInputs = [ autoreconfHook pkg-config