aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/XawPlus
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-05-31 03:17:27 +0800
committerarved <arved@FreeBSD.org>2007-05-31 03:17:27 +0800
commit1f2d4771deb7dc61ae163193075cccbc5e4f7c5b (patch)
tree11fe4bcc5420d52f58122472c9e4a12ab05b5fff /x11-toolkits/XawPlus
parent60951d90a530b3fb59edbff860c759aa89996c95 (diff)
downloadfreebsd-ports-gnome-1f2d4771deb7dc61ae163193075cccbc5e4f7c5b.tar.gz
freebsd-ports-gnome-1f2d4771deb7dc61ae163193075cccbc5e4f7c5b.tar.zst
freebsd-ports-gnome-1f2d4771deb7dc61ae163193075cccbc5e4f7c5b.zip
Fix build with gcc4
Diffstat (limited to 'x11-toolkits/XawPlus')
-rw-r--r--x11-toolkits/XawPlus/files/patch-LocPixmap.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/XawPlus/files/patch-LocPixmap.c b/x11-toolkits/XawPlus/files/patch-LocPixmap.c
new file mode 100644
index 000000000000..c1919812e800
--- /dev/null
+++ b/x11-toolkits/XawPlus/files/patch-LocPixmap.c
@@ -0,0 +1,18 @@
+--- LocPixmap.c.orig Wed May 30 21:14:07 2007
++++ LocPixmap.c Wed May 30 21:14:31 2007
+@@ -173,6 +173,7 @@
+ } /* if */
+ }
+
++static char **split_path_string();
+
+ /*
+ * XawLocatePixmapFile - read a pixmap file using the normal defaults
+@@ -195,7 +196,6 @@
+ char **file_paths = NULL;
+ char filename[MAXPATHLEN];
+ int i;
+- static char **split_path_string();
+ char *name;
+
+ XpmAttributes attributes;