Package: lilypond / 2.19.83-1~exp1

0010-Fix-test-suite-failure-caused-by-formfeed-difference.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From d484b576e960a216ec189b9ebe1967ee21a340f8 Mon Sep 17 00:00:00 2001
From: Colin Watson <cjwatson@ubuntu.com>
Date: Sun, 9 Feb 2014 12:58:24 -0600
Subject: Fix test-suite failure caused by formfeed differences in texinfo 5.

The version of makeinfo in texinfo 5.2 (at least) emits
slightly-differently-formatted output that breaks
ice-9/documentation.scm, and hence the test suite.  Later versions of
Guile implement their own texinfo parsing and thus no longer rely on
makeinfo for this, but this workaround is enough to fix the test suite
for now.

[rlb@defaultvalue.org: adjust commit message.]

Closes: #711029
Bug-Debian: http://bugs.debian.org/711029
---
 libguile/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/guile18/libguile/Makefile.am
+++ b/guile18/libguile/Makefile.am
@@ -304,7 +304,7 @@
 
 guile-procedures.txt: guile-procedures.texi
 	rm -f $@
-	makeinfo --force -o $@ guile-procedures.texi || test -f $@
+	makeinfo --force --no-headers guile-procedures.texi | sed 's/  *//g' > $@
 
 else