1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c
Jeremy Messenger fe817611db - Update to 0.14.0, see release note for details:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20051016_1

- Two new ports have been added, ruby-cairo and ruby-gtkmozembed.
- databases/ruby-libgda has been mark as BROKEN, because it still needs to
  catch up w/ new libgda-2.0, so remove it from ruby-gnome2-all.
2005-11-05 05:35:10 +00:00

13 lines
447 B
C

--- src/rbgnome-canvas-path-def.c.orig Sun Oct 16 20:51:48 2005
+++ src/rbgnome-canvas-path-def.c Sun Oct 16 20:53:08 2005
@@ -72,7 +72,8 @@
if (NIL_P(obj)) {
path = gnome_canvas_path_def_new();
} else if (TYPE(obj) == T_FIXNUM) {
- gint length = NUM2INT(obj);
+ gint length;
+ length = NUM2INT(obj);
if (length > 0) {
path = gnome_canvas_path_def_new_sized(length);
} else {