From owner-svn-ports-head@freebsd.org Sun Jun 30 09:05:34 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47F4515D0C49; Sun, 30 Jun 2019 09:05:34 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1DAB77370; Sun, 30 Jun 2019 09:05:33 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C3C2E235D8; Sun, 30 Jun 2019 09:05:33 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5U95X69054121; Sun, 30 Jun 2019 09:05:33 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5U95X0p054120; Sun, 30 Jun 2019 09:05:33 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201906300905.x5U95X0p054120@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Sun, 30 Jun 2019 09:05:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505411 - head/graphics/xpaint/files X-SVN-Group: ports-head X-SVN-Commit-Author: rene X-SVN-Commit-Paths: head/graphics/xpaint/files X-SVN-Commit-Revision: 505411 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D1DAB77370 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2019 09:05:34 -0000 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 + #include + #include +-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS ) ++#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS ) || defined(BSD) + #include + #else + #include +@@ -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;