File 0001-allow-the-manual-to-build-under-modern-texinfo.patch of Package sbcl

From e9cc132191affb63f77ceb173b6ab065b8ba6db0 Mon Sep 17 00:00:00 2001
From: Christophe Rhodes <csr21@cantab.net>
Date: Thu, 31 Mar 2016 13:48:55 +0100
Subject: [PATCH] allow the manual to build under modern texinfo

based on patch from debian bug #815205 from Norbert Preining
---
 doc/manual/docstrings.lisp        | 2 +-
 doc/manual/texinfo-macros.texinfo | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/doc/manual/docstrings.lisp b/doc/manual/docstrings.lisp
index 06482302c..7ec896462 100644
--- a/doc/manual/docstrings.lisp
+++ b/doc/manual/docstrings.lisp
@@ -869,7 +869,7 @@ package, as well as for the package itself."
   (format *texinfo-output* "~
 @iftex
 @macro ~A{name}
-{@smallertt@phantom{concurrency:}~@[@llap{~(~A~):}~]}\\name\\
+{\\\\smallertt\\\\phantom{concurrency:}~@[\\\\llap{~(~A~):}~]}\\name\\
 @end macro
 @end iftex
 @ifinfo
diff --git a/doc/manual/texinfo-macros.texinfo b/doc/manual/texinfo-macros.texinfo
index 6ec1b15cc..13e62adea 100644
--- a/doc/manual/texinfo-macros.texinfo
+++ b/doc/manual/texinfo-macros.texinfo
@@ -8,7 +8,7 @@
 \long\def\dashphelper#1\dashphelper{
   \ifx\dashphelper\next\dashfalse\else\dashtrue\fi
 }
-\def\lw#1{\leavevmode\dashp{#1}\ifdash#1\else\hbox{#1}\fi}
+\def\llw#1{\leavevmode\dashp{#1}\ifdash#1\else\hbox{#1}\fi}
 @end tex
 @end iftex
 
@@ -17,9 +17,7 @@
 @c necessary to prevent treating the newline as a space.
 @iftex
 @macro lw{word}
-@tex
-\\lw{\word\}%
-@end tex
+\\llw{\word\}%
 @end macro
 @end iftex
 @ifnottex
-- 
2.12.3

openSUSE Build Service is sponsored by