diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-16 22:04:19 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-16 22:04:19 +0000 |
commit | ec54cfceab9cf7ee4c57399c636d38f4cbd71ec8 (patch) | |
tree | e4489bdd405ebee1eee801e6b04f9baf0a5a0026 /graphics | |
parent | Fix rc script extension. (diff) |
- Fix build on FreeBSD 4.X
Approved by: mezz (maintainer)
Notes
Notes:
svn path=/head/; revision=142970
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c | 13 |
1 files changed, 13 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 000000000000..f272f3b0cfa5 --- /dev/null +++ b/graphics/ruby-gnomecanvas2/files/patch-rbgnome-canvas-path-def.c @@ -0,0 +1,13 @@ +--- src/rbgnome-canvas-path-def.c.orig Sun Jul 31 12:39:54 2005 ++++ src/rbgnome-canvas-path-def.c Fri Sep 16 21:16:00 2005 +@@ -82,8 +82,9 @@ + if (NIL_P(obj)) { + path = gnome_canvas_path_def_new(); + } else if (TYPE(obj) == T_FIXNUM) { ++ gint length; + path = gnome_canvas_path_def_new_sized(NUM2INT(obj)); +- gint length = NUM2INT(obj); ++ length = NUM2INT(obj); + if (length > 0) { + path = gnome_canvas_path_def_new_sized(length); + } else { |