ports/175898: [PATCH] graphics/rubygem-scruff bugfix render
dirk.meyer at dinoex.sub.org
dirk.meyer at dinoex.sub.org
Wed Feb 6 20:30:03 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list