From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 6 20:30:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4243A844 for ; Wed, 6 Feb 2013 20:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0F2BB8E1 for ; Wed, 6 Feb 2013 20:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r16KU2ih007358 for ; Wed, 6 Feb 2013 20:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r16KU2oS007357; Wed, 6 Feb 2013 20:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 6 Feb 2013 20:30:02 GMT Resent-Message-Id: <201302062030.r16KU2oS007357@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, dirk.meyer@dinoex.sub.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9337681D for ; Wed, 6 Feb 2013 20:29:10 +0000 (UTC) (envelope-from dm@home8.dinoex.sub.de) Received: from uucp.dinoex.sub.de (smtp3.dinoex.sub.de [IPv6:2001:1440:5001:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id C61D28D0 for ; Wed, 6 Feb 2013 20:29:08 +0000 (UTC) Received: from home8.dinoex.sub.de (home8.dinoex.sub.de [194.45.71.48]) by uucp.dinoex.sub.de (8.14.5/8.14.4) with ESMTP id r15JgR0A040524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Feb 2013 20:42:43 +0100 (CET) (envelope-from dm@home8.dinoex.sub.de) Received: (from dm@localhost) by home8.dinoex.sub.de (8.14.5/8.14.5/Submit) id r15JfVII008307; Tue, 5 Feb 2013 20:41:31 +0100 (CET) (envelope-from dm) Message-Id: <201302051941.r15JfVII008307@home8.dinoex.sub.de> Date: Tue, 5 Feb 2013 20:41:31 +0100 (CET) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175898: [PATCH] graphics/rubygem-scruff bugfix render X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dirk.meyer@dinoex.sub.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 20:30:03 -0000 >Number: 175898 >Category: ports >Synopsis: [PATCH] graphics/rubygem-scruff bugfix render >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 06 20:30:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 9.1-RELEASE >Organization: privat >Environment: tested with ruby 1.9 >Description: All graphs generated with scruffy 0.2.6 are empty. This is to a bug in the code: Patch from: http://rubyforge.org/tracker/index.php?func=detail&aid=27102&group_id=2030&atid=7929 Same Problem: http://rubyforge.org/tracker/index.php?func=detail&aid=27128&group_id=2030&atid=7929 http://rubyforge.org/tracker/index.php?func=detail&aid=27961&group_id=2030&atid=7929 >How-To-Repeat: try any sample to generate a graph, it will be empy. >Fix: apply this patch. Sadly we can not patch the gem file itself yet. So I fix it in post-install. diff -ur --exclude=CVS --exclude=Makefile.local ./Makefile /usr/ports/current/rubygem-scruffy/Makefile --- ./Makefile 2012-11-23 12:57:30.000000000 +0100 +++ /usr/ports/current/rubygem-scruffy/Makefile 2013-02-05 20:33:23.000000000 +0100 @@ -8,6 +8,7 @@ PORTNAME= scruffy PORTVERSION= 0.2.6 +PORTREVISION= 1 CATEGORIES= graphics rubygems MASTER_SITES= RG @@ -20,4 +21,8 @@ USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +post-install: + ${REINPLACE_CMD} -e 's|#{options|0 0 #{options|' \ + ${PREFIX}/${GEM_LIB_DIR}/lib/scruffy/renderers/base.rb + .include >Release-Note: >Audit-Trail: >Unformatted: