Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37401660
en ru br
ALT Linux repositórios
S:2.1.0-alt1

Group :: Jogos/Enigmas
RPM: nudoku

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: nudoku-2.0.0-fix-gettext-version.patch
Download


From 9a4ffc359fe72f6af0e3654ae19ae421ab941ea8 Mon Sep 17 00:00:00 2001
From: strafe <strafe@users.noreply.github.com>
Date: Wed, 31 Jul 2019 20:21:12 +0100
Subject: [PATCH] Define a minimum gettext version rather than an exact one
This PR prevents an error caused by the `Makefile.in.in` being for the exact gettext version specified in `configure.ac`, but the autoconf macros used being from whatever the latest version available on the system is.
Example:
```
Making all in po
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20
make[1]: *** [stamp-po] Error 1
make: *** [all-recursive] Error 1
```
Leaving `AM_GNU_GETTEXT_VERSION` to act as a fall back but it will not be used if a version of `autopoint` that supports `AM_GNU_GETTEXT_REQUIRE_VERSION` is present.
`0.19` had to be bumped to at least `0.19.6` as that is where `AM_GNU_GETTEXT_REQUIRE_VERSION` was first introduced.
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index a45a4f3..61c4c90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,8 +51,9 @@ AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
 AC_CHECK_HEADER_STDBOOL
 
 # Set gettext files
+AM_GNU_GETTEXT_VERSION([0.19.6])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6])
 AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19])
 
 # Checks for library functions.
 AC_FUNC_MALLOC
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009