Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2011 03:19:45 GMT
From:      Steve Wills <swills@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/158678: [PATCH] audio/amarok doesn't build with ruby 1.9, mark it as such
Message-ID:  <201107060319.p663JjdJ010172@red.freebsd.org>
Resent-Message-ID: <201107060320.p663K94g096808@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 03:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107060319.p663JjdJ010172>