summaryrefslogtreecommitdiff
path: root/graphics/xpaint/files/patch-fileBrowser.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-07-16 03:31:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-07-16 03:31:49 +0000
commitf174df32f7ea1a9eea3375e2bf2b55c7942cc114 (patch)
tree265d47e4d64960488e0dfce973b59de69b4548cd /graphics/xpaint/files/patch-fileBrowser.c
parentUpdate the installation path for the new version 3.5.2 of java/eclipse. (diff)
- Update to 2.8.1.4
PR: 148560 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=257836
Diffstat (limited to 'graphics/xpaint/files/patch-fileBrowser.c')
-rw-r--r--graphics/xpaint/files/patch-fileBrowser.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/xpaint/files/patch-fileBrowser.c b/graphics/xpaint/files/patch-fileBrowser.c
new file mode 100644
index 000000000000..716939706cc3
--- /dev/null
+++ b/graphics/xpaint/files/patch-fileBrowser.c
@@ -0,0 +1,20 @@
+--- fileBrowser.c.orig 2010-04-28 17:02:11.000000000 +0900
++++ fileBrowser.c 2010-05-29 13:23:51.000000000 +0900
+@@ -40,7 +40,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS )
++#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS ) || defined(__FreeBSD__)
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>
+@@ -513,7 +513,7 @@
+ setCWD(arg_t * arg, char *dir)
+ {
+ DIR *dirp;
+-#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__)
++#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__) || defined(__FreeBSD__)
+ struct dirent *e;
+ #else
+ struct direct *e;