Date: Tue, 5 Feb 2013 20:41:31 +0100 (CET) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/175898: [PATCH] graphics/rubygem-scruff bugfix render Message-ID: <201302051941.r15JfVII008307@home8.dinoex.sub.de> Resent-Message-ID: <201302062030.r16KU2oS007357@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302051941.r15JfVII008307>