powertop/powertop-2.15-gettext-0.19.patch

16 lines
658 B
Diff
Raw Normal View History

--- powertop-2.15/configure.ac.orig 2025-01-07 00:36:37.491841200 +0800
+++ powertop-2.15/configure.ac 2025-01-07 00:37:15.629889400 +0800
@@ -26,7 +26,11 @@
AC_SUBST([GETTEXT_PACKAGE])
AM_SILENT_RULES([yes])
AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.18.2])
+dnl Support for _REQUIRE_VERSION was added in gettext 0.19.6. If both
+dnl _REQUIRE_VERSION and _VERSION are present, the _VERSION is ignored.
+dnl We use both for compatibility with other programs in the Autotools family.
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6])
+AM_GNU_GETTEXT_VERSION([0.19.6])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AX_REQUIRE_DEFINED([AX_ADD_FORTIFY_SOURCE])