From 70c9e47e8f4fe4a4b116fc06c43a0688fe436673 Mon Sep 17 00:00:00 2001 From: qrczak Date: Mon, 10 Dec 2001 23:26:46 +0000 Subject: [PATCH] - texinfo-cpp_macros.patch: avoid #ifdef in cpp macros - Release 5 Changed files: texinfo-cpp_macros.patch -> 1.1 texinfo.spec -> 1.53 --- texinfo-cpp_macros.patch | 30 ++++++++++++++++++++++++++++++ texinfo.spec | 4 +++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 texinfo-cpp_macros.patch diff --git a/texinfo-cpp_macros.patch b/texinfo-cpp_macros.patch new file mode 100644 index 0000000..8559c06 --- /dev/null +++ b/texinfo-cpp_macros.patch @@ -0,0 +1,30 @@ +--- texinfo-4.0b/info/info.c~ Tue May 1 18:12:30 2001 ++++ texinfo-4.0b/info/info.c Tue Dec 11 00:18:42 2001 +@@ -527,6 +527,12 @@ + static void + info_short_help () + { ++#ifdef __MSDOS__ ++#define SPEECH_FRIENDLY "\ ++ --speech-friendly be friendly to speech synthesizers.\n" ++#else ++#define SPEECH_FRIENDLY "" ++#endif + printf (_("\ + Usage: %s [OPTION]... [MENU-ITEM...]\n\ + \n\ +@@ -564,13 +570,7 @@ + general questions and discussion to help-texinfo@gnu.org.\n\ + "), + program_name, +-#ifdef __MSDOS__ +-"\ +- --speech-friendly be friendly to speech synthesizers.\n" +-#else +-"" +-#endif +- ); ++ SPEECH_FRIENDLY); + + xexit (0); + } diff --git a/texinfo.spec b/texinfo.spec index 40731fc..5b92a68 100644 --- a/texinfo.spec +++ b/texinfo.spec @@ -5,7 +5,7 @@ Summary(pl): Narz Summary(tr): texinfo biçimleyici ve info okuyucu Name: texinfo Version: 4.0b -Release: 4 +Release: 5 License: GPL Group: Applications/Publishing Group(de): Applikationen/Publizieren @@ -19,6 +19,7 @@ Patch3: %{name}-version.texi.patch Patch4: %{name}-DESTDIR.patch Patch5: %{name}-fileextension.patch Patch6: %{name}-danish.patch +Patch7: %{name}-cpp_macros.patch URL: http://texinfo.org/ BuildRequires: autoconf BuildRequires: automake @@ -130,6 +131,7 @@ Narz %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build ln -sf version.texi doc/version2.texi -- 2.43.0