ports/156470: [PATCH] audio/ruby-musicbrainz (patch to enable compiling with RUBY_VER 1.9)
Eric Freeman
freebsdports at chillibear.com
Mon Apr 18 10:40:06 UTC 2011
>Number: 156470
>Category: ports
>Synopsis: [PATCH] audio/ruby-musicbrainz (patch to enable compiling with RUBY_VER 1.9)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 18 10:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Eric Freeman
>Release: 8.2
>Organization:
>Environment:
FreeBSD BSD8R.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Patch to enable audio/ruby-musicbrainz to be compiled when RUBY_VER is 1.9
>How-To-Repeat:
Install Ruby 1.9 and
cd /usr/ports/audio/ruby-musicbrainz && make build RUBY_VER=1.9
fails
>Fix:
diff -ru ruby-musicbrainz.orig/Makefile ruby-musicbrainz/Makefile
--- ruby-musicbrainz.orig/Makefile 2011-04-18 07:09:03.000000000 +0100
+++ ruby-musicbrainz/Makefile 2011-04-18 07:46:43.000000000 +0100
@@ -27,6 +27,12 @@
DOCS= README TODO doc
+post-patch:
+ ${REINPLACE_CMD} -E \
+ -e 's|RSTRING\(([^)]+)\)->len|RSTRING_LEN(\1)|g' \
+ -e 's|RSTRING\(([^)]+)\)->ptr|RSTRING_PTR(\1)|g' \
+ ${WRKSRC}/musicbrainz.c
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
Only in ruby-musicbrainz: work
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list