Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 09:05:33 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505411 - head/graphics/xpaint/files
Message-ID:  <201906300905.x5U95X0p054120@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906300905.x5U95X0p054120>