From nobody@FreeBSD.org  Wed Jul  6 03:19:46 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 6FB5D106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jul 2011 03:19:46 +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 6061F8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jul 2011 03:19:46 +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 p663JkUP010185
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Jul 2011 03:19:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p663JjdJ010172;
	Wed, 6 Jul 2011 03:19:45 GMT
	(envelope-from nobody)
Message-Id: <201107060319.p663JjdJ010172@red.freebsd.org>
Date: Wed, 6 Jul 2011 03:19:45 GMT
From: Steve Wills <swills@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] audio/amarok doesn't build with ruby 1.9, mark it as such
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         158678
>Category:       ports
>Synopsis:       [PATCH] audio/amarok doesn't build with ruby 1.9, mark it as such
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    makc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 03:20:09 UTC 2011
>Closed-Date:    Thu Jul 07 17:34:45 UTC 2011
>Last-Modified:  Thu Jul  7 17:40:08 UTC 2011
>Originator:     Steve Wills
>Release:        
>Organization:
>Environment:
>Description:
audio/amarok doesn't build with Ruby 1.9. It bombs with a configure error, but even after I hacked up a patch to work around that, it still failed to compile because the code doesn't work with the changes for Ruby 1.9. Lots of errors like this are reported:

error: 'struct RString' has no member named 'ptr'




>How-To-Repeat:

>Fix:
See attached patch.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/amarok/Makefile,v
retrieving revision 1.105
diff -u -r1.105 Makefile
--- Makefile	15 Mar 2011 15:05:39 -0000	1.105
+++ Makefile	6 Jul 2011 03:16:23 -0000
@@ -44,6 +44,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${RUBY_VER} == 1.9
+BROKEN=	does not build with ruby 1.9
+.endif
+
 CONFIGURE_ARGS+=--without-exscalibar \
 		--with-mp4v2 \
 		--with-mp4v2-dir=${PREFIX}


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->makc 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 6 03:20:21 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158678 
State-Changed-From-To: open->closed 
State-Changed-By: makc 
State-Changed-When: Thu Jul 7 17:34:43 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158678: commit references a PR
Date: Thu,  7 Jul 2011 17:33:39 +0000 (UTC)

 makc        2011-07-07 17:33:25 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/amarok         Makefile 
   Log:
   Mark BROKEN with Ruby 1.9 [1]
   Drop maintainership (I don't use Qt3 ports anymore)
   
   PR:             ports/158678 [1]
   Submitted by:   swills
   
   Revision  Changes    Path
   1.106     +5 -1      ports/audio/amarok/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:
