From nobody@FreeBSD.org  Mon Apr 18 10:33:29 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B17C5106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Apr 2011 10:33:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id A055E8FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Apr 2011 10:33:29 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p3IAXT8o090971
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Apr 2011 10:33:29 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p3IAXT1W090965;
	Mon, 18 Apr 2011 10:33:29 GMT
	(envelope-from nobody)
Message-Id: <201104181033.p3IAXT1W090965@red.freebsd.org>
Date: Mon, 18 Apr 2011 10:33:29 GMT
From: Eric Freeman <freebsdports@chillibear.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] audio/ruby-freedb (patch to enable compiling with RUBY_VER 1.9)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 18 10:40:05 UTC 2011
>Closed-Date:    Tue May 03 01:21:55 UTC 2011
>Last-Modified:  Tue May  3 01:30:15 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 18 10:40:20 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156469 
Responsible-Changed-From-To: stas->swills 
Responsible-Changed-By: swills 
Responsible-Changed-When: Tue May 3 01:21:06 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156469 
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Tue May 3 01:21:55 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156469 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/156469: commit references a PR
Date: Tue,  3 May 2011 01:21:49 +0000 (UTC)

 swills      2011-05-03 01:21:40 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/ruby-freedb    Makefile 
   Log:
   - Fix build with Ruby 1.9
   
   PR:             ports/156469
   Submitted by:   Eric Freeman <freebsdports@chillibear.com>
   Approved by:    maintainer (timeout)
   
   Revision  Changes    Path
   1.18      +3 -0      ports/audio/ruby-freedb/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
