diff options
author | pav <pav@FreeBSD.org> | 2005-09-17 06:04:19 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-09-17 06:04:19 +0800 |
commit | 0cb86e07f234088cfe1d62fd56d122456c81356f (patch) | |
tree | 9ecf336e264306b6b5e97a98e7e1224050a04013 /graphics/ruby-gnomecanvas2 | |
parent | dd4d69bfa26f329d548d45be73fcc762d898d24c (diff) | |
download | freebsd-ports-gnome-0cb86e07f234088cfe1d62fd56d122456c81356f.tar.gz freebsd-ports-gnome-0cb86e07f234088cfe1d62fd56d122456c81356f.tar.zst freebsd-ports-gnome-0cb86e07f234088cfe1d62fd56d122456c81356f.zip |
- Fix build on FreeBSD 4.X
Approved by: mezz (maintainer)
Diffstat (limited to 'graphics/ruby-gnomecanvas2')
-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 { |