Skip to content

Commit 474bb99

Browse files
committed
a
1 parent 3316f46 commit 474bb99

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ if ! [ -f "${gcc_tarball}" ]; then
638638
if (( gcc_major == 2.95 )); then
639639
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/gcc-2.9/0001-Add-host-support-for-x86_64.patch"
640640
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/gcc-2.9/0001-Restore-source-files-with-stripped-license-headers.patch"
641+
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/gcc-2.9/texinfo-libintl.patch"
641642
fi
642643

643644
if (( gcc_major == 11 )); then
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git a/texinfo/lib/system.h b/texinfo/lib/system.h
2+
index cb3ed0531ff..39ae3709a10 100644
3+
--- a/texinfo/lib/system.h
4+
+++ b/texinfo/lib/system.h
5+
@@ -39,8 +39,12 @@
6+
#endif
7+
8+
/* For gettext (NLS). */
9+
+#ifdef ENABLE_NLS
10+
#include <libintl.h>
11+
#define _(String) gettext (String)
12+
+#else
13+
+#define _(String) (String)
14+
+#endif
15+
#define N_(String) (String)
16+
17+
/* Don't use bcopy! Use memmove if source and destination may overlap,

0 commit comments

Comments
 (0)