summaryrefslogtreecommitdiff
path: root/x11-toolkits/XawPlus/files
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-05-30 19:17:27 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-05-30 19:17:27 +0000
commit37218fa383803da3e42e01554f7514157e0e37f3 (patch)
tree4fedcd8049b9c6827688dee3d63bb3696a46ef02 /x11-toolkits/XawPlus/files
parent- update of lang/tcl84 and x11-toolkits/tk84 to 8.4.15 (diff)
Fix build with gcc4
Diffstat (limited to 'x11-toolkits/XawPlus/files')
-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;