ports/156468: [PATCH] audio/ruby-esound (patch to enable compiling with RUBY_VER 1.9)
Eric Freeman
freebsdports at chillibear.com
Mon Apr 18 10:40:06 UTC 2011
>Number: 156468
>Category: ports
>Synopsis: [PATCH] audio/ruby-esound (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:05 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-esound to be compiled when RUBY_VER is 1.9
>How-To-Repeat:
Install Ruby 1.9 and
cd /usr/ports/audio/ruby-esound && make build RUBY_VER=1.9
fails
>Fix:
--- ruby-esound.orig/Makefile 2011-04-17 19:15:44.000000000 +0100
+++ ruby-esound/Makefile 2011-04-18 07:52:45.000000000 +0100
@@ -34,6 +34,10 @@
${REINPLACE_CMD} -E \
-e "s,^(require[[:space:]]+')./esd.so('.*),\1esd\2," \
${WRKSRC}/test/*.rb
+ ${REINPLACE_CMD} -E \
+ -e 's|RSTRING\(([^)]+)\)->len|RSTRING_LEN(\1)|g' \
+ -e 's|RSTRING\(([^)]+)\)->ptr|RSTRING_PTR(\1)|g' \
+ ${WRKSRC}/esd.c
post-install:
.if !defined(NOPORTDOCS)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list