mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Fix build on FreeBSD 4.X
Approved by: mezz (maintainer)
This commit is contained in:
parent
6a88805150
commit
ec54cfceab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142970
1 changed files with 13 additions and 0 deletions
|
@ -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 {
|
Loading…
Add table
Reference in a new issue