ports/130919: print/lilypond is BROKEN (patch to fix the build included)
Jan Henrik Sylvester
me at janh.de
Fri Jan 23 18:00:02 UTC 2009
>Number: 130919
>Category: ports
>Synopsis: print/lilypond is BROKEN (patch to fix the build included)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 23 18:00:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Jan Henrik Sylvester
>Release: 7.1-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
print/lilypond does not build after the guile-1.8.6 upgrade with the same error as in this bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=477007
The discussion on guile-devel mentioned in the bugreport specifies the bug in lilypond and how to fix it.
>How-To-Repeat:
Try to build print/lilypond.
>Fix:
The patch attached does what the discussion on guile-devel suggests. The same seems to have been applied to some Linux distributions without problems.
I have tested that the patch unbreaks the build and a package of print/lilypond can be build without errors. I did not test functionality of lilypond, though.
Patch attached with submission follows:
diff -uN print/lilypond/files/patch-lily-parse-scm.cc.orig print/lilypond/files/patch-lily-parse-scm.cc
--- print/lilypond/files/patch-lily-parse-scm.cc.orig 1970-01-01 01:00:00.000000000 +0100
+++ print/lilypond/files/patch-lily-parse-scm.cc 2009-01-23 17:38:02.000000000 +0100
@@ -0,0 +1,13 @@
+diff -u lily/parse-scm.cc~ lily/parse-scm.cc
+--- lily/parse-scm.cc~ 2008-09-10 06:47:20.000000000 +0200
++++ lily/parse-scm.cc 2009-01-23 17:31:48.000000000 +0100
+@@ -38,9 +38,6 @@
+ SCM answer = SCM_UNSPECIFIED;
+ SCM form = scm_read (port);
+
+- /* Reset read_buf for scm_ftell.
+- Shouldn't scm_read () do this for us? */
+- scm_fill_input (port);
+ SCM to = scm_ftell (port);
+ ps->nchars = scm_to_int (to) - scm_to_int (from);
+
diff -u print/lilypond/Makefile.orig print/lilypond/Makefile
--- print/lilypond/Makefile.orig 2009-01-22 17:04:49.000000000 +0100
+++ print/lilypond/Makefile 2009-01-23 17:39:23.000000000 +0100
@@ -52,8 +52,6 @@
PLIST_SUB= PORTVERSION=${PORTVERSION}
-BROKEN= Does not compile
-
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS) && defined(WITH_WEBDOCS)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list