···11+From ae8d7708e8e28b0d32ef00d18dbd65ed93853811 Mon Sep 17 00:00:00 2001
22+From: Alyssa Ross <hi@alyssa.is>
33+Date: Fri, 27 Jun 2025 12:27:58 +0200
44+Subject: [PATCH] Fix autoreconf with gettext 0.25
55+66+Since gettext 0.25, the AM_ICONV macro is installed into the m4
77+directory, so we need to add that autoconf config directory. We also
88+need to make sure autoreconf recognizes that it needs to run autopoint
99+to install the gettext macros, which it does heuristically by checking
1010+whether AM_GNU_GETTEXT_VERSION is used, so add that and the minimum
1111+amount of other stuff required to make it happy. The version of
1212+gettext we say we use shouldn't matter, so I just went with the
1313+version in ubuntu:latest since that's what CI uses.
1414+1515+Link: https://github.com/dbry/WavPack/pull/205
1616+---
1717+ Makefile.am | 2 ++
1818+ configure.ac | 3 +++
1919+ 2 files changed, 5 insertions(+)
2020+2121+diff --git a/Makefile.am b/Makefile.am
2222+index ec20499..6c18f61 100644
2323+--- a/Makefile.am
2424++++ b/Makefile.am
2525+@@ -1,3 +1,5 @@
2626++SUBDIRS =
2727++
2828+ pkgconfigdir = $(libdir)/pkgconfig
2929+ pkgconfig_DATA = wavpack.pc
3030+3131+diff --git a/configure.ac b/configure.ac
3232+index e35bb72..7fb0ebb 100644
3333+--- a/configure.ac
3434++++ b/configure.ac
3535+@@ -2,7 +2,10 @@ dnl wavpack 5.8.1 configure.ac
3636+3737+ AC_INIT([wavpack], [5.8.1], [bryant@wavpack.com])
3838+ AC_CONFIG_SRCDIR([src/pack.c])
3939++AC_CONFIG_MACRO_DIRS([m4])
4040+ AM_INIT_AUTOMAKE([-Wall 1.15 serial-tests subdir-objects foreign no-dist-gzip dist-xz])
4141++AM_GNU_GETTEXT_VERSION([0.21])
4242++AM_GNU_GETTEXT([external])
4343+ AM_MAINTAINER_MODE
4444+4545+ LIBWAVPACK_MAJOR=5
4646+--
4747+2.49.0
4848+