svn commit: r505411 - head/graphics/xpaint/files
Rene Ladan
rene at FreeBSD.org
Sun Jun 30 09:05:34 UTC 2019
Author: rene
Date: Sun Jun 30 09:05:33 2019
New Revision: 505411
URL: https://svnweb.freebsd.org/changeset/ports/505411
Log:
graphics/xpaint: include dirent.h instead of sys/dir.h which is scheduled
for removal.
PR: 238622
Submitted by: rene
Approved by: maintainer timeout (johans, 2 weeeks)
Added:
head/graphics/xpaint/files/patch-fileBrowser.c (contents, props changed)
Added: head/graphics/xpaint/files/patch-fileBrowser.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/xpaint/files/patch-fileBrowser.c Sun Jun 30 09:05:33 2019 (r505411)
@@ -0,0 +1,20 @@
+--- fileBrowser.c.orig 2014-05-08 13:50:48 UTC
++++ fileBrowser.c
+@@ -47,7 +47,7 @@ extern Xaw3dXftData *xaw3dxft_data;
+ #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(BSD)
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>
+@@ -562,7 +562,7 @@ static void
+ 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(BSD)
+ struct dirent *e;
+ #else
+ struct direct *e;
More information about the svn-ports-head
mailing list