diff options
Diffstat (limited to 'graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c')
-rw-r--r-- | graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c b/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c new file mode 100644 index 000000000..8c8b81596 --- /dev/null +++ b/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c @@ -0,0 +1,12 @@ +--- 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 { |