Date: Mon, 18 Apr 2011 10:33:29 GMT From: Eric Freeman <freebsdports@chillibear.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156469: [PATCH] audio/ruby-freedb (patch to enable compiling with RUBY_VER 1.9) Message-ID: <201104181033.p3IAXT1W090965@red.freebsd.org> Resent-Message-ID: <201104181040.p3IAe6fI092703@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156469 >Category: ports >Synopsis: [PATCH] audio/ruby-freedb (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-freedb to compile when RUBY_VER is 1.9 >How-To-Repeat: Install Ruby 1.9 and cd /usr/ports/audio/ruby-freedb && make build RUBY_VER=1.9 >Fix: diff -ru ruby-freedb.orig/Makefile ruby-freedb/Makefile --- ruby-freedb.orig/Makefile 2011-04-18 07:03:06.000000000 +0100 +++ ruby-freedb/Makefile 2011-04-18 07:07:12.000000000 +0100 @@ -25,6 +25,9 @@ DOCS= CHANGELOG README doc EXAMPLES= examples/*.rb +post-patch: + ${REINPLACE_CMD} -E -e "s,RSTRING\(([^)]+)\)->ptr,RSTRING_PTR(\1),g" ${WRKSRC}/freedb_cdrom.c + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104181033.p3IAXT1W090965>