Date: Fri, 23 Jan 2009 17:52:22 GMT From: Jan Henrik Sylvester <me@janh.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/130919: print/lilypond is BROKEN (patch to fix the build included) Message-ID: <200901231752.n0NHqMw9008040@www.freebsd.org> Resent-Message-ID: <200901231800.n0NI010l030412@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901231752.n0NHqMw9008040>