Date: Mon, 18 Apr 2011 10:30:27 GMT From: Eric Freeman <freebsdports@chillibear.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156468: [PATCH] audio/ruby-esound (patch to enable compiling with RUBY_VER 1.9) Message-ID: <201104181030.p3IAUROP087221@red.freebsd.org> Resent-Message-ID: <201104181040.p3IAe5Jw092694@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104181030.p3IAUROP087221>