File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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,
You can’t perform that action at this time.
0 commit comments