Files
gentoo/sys-devel/gettext/files/gettext-1.0-fix-syntax-error.patch
Holger Hoffstätte a3fcbde55b sys-devel/gettext: add 1.0
This changed the installation of gettextize and requires a post-1.0
compilation fix but otherwise seems to work fine so far.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/455
Merges: https://codeberg.org/gentoo/gentoo/pulls/455
Signed-off-by: Sam James <sam@gentoo.org>
2026-03-31 17:59:21 +01:00

47 lines
1.5 KiB
Diff

https://savannah.gnu.org/bugs/?67987
- rebased Changelog entry
- duplicated hunk to match duplicated gnulib in tarball
From: Bruno Haible <bruno@clisp.org>
Date: Thu, 29 Jan 2026 19:04:32 +0100
Subject: [PATCH] relocatable-prog-wrapper: Fix syntax error on Linux (regr. 2025-12-09).
Reported by Erik Schnetter <schnetter@gmail.com>
at <https://savannah.gnu.org/bugs/?67987>.
* lib/progreloc.c (find_executable): Remove extraneous brace.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-01-29 Bruno Haible <bruno@clisp.org>
+
+ relocatable-prog-wrapper: Fix syntax error on Linux (regr. 2025-12-09).
+ Reported by Erik Schnetter <schnetter@gmail.com>
+ at <https://savannah.gnu.org/bugs/?67987>.
+ * lib/progreloc.c (find_executable): Remove extraneous brace.
+
2026-01-29 Bruno Haible <bruno@clisp.org>
examples: Use infrastructure from gettext version 1.0.
--- a/gettext-tools/gnulib-lib/progreloc.c
+++ b/gettext-tools/gnulib-lib/progreloc.c
@@ -259,7 +259,6 @@ find_executable (const char *argv0)
char *link = xreadlink (buf);
if (link != NULL && link[0] != '[')
return link;
- }
if (executable_fd < 0)
executable_fd = open (buf, O_EXEC | O_CLOEXEC, 0);
}
--- a/gettext-runtime/gnulib-lib/progreloc.c
+++ b/gettext-runtime/gnulib-lib/progreloc.c
@@ -259,7 +259,6 @@ find_executable (const char *argv0)
char *link = xreadlink (buf);
if (link != NULL && link[0] != '[')
return link;
- }
if (executable_fd < 0)
executable_fd = open (buf, O_EXEC | O_CLOEXEC, 0);
}