Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2020 06:15:40 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r529773 - head/cad/graywolf/files
Message-ID:  <202003290615.02T6Felh075429@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar 29 06:15:40 2020
New Revision: 529773
URL: https://svnweb.freebsd.org/changeset/ports/529773

Log:
  cad/graywolf: Fix build on 13
  
  sys/dir.h is replaced with dirent.h
  
  fatal error: sys/dir.h: No such file or directory
    136 | #include <sys/dir.h>
        |          ^~~~~~~~~~~

Added:
  head/cad/graywolf/files/patch-src_Ylib_file.c   (contents, props changed)

Added: head/cad/graywolf/files/patch-src_Ylib_file.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/graywolf/files/patch-src_Ylib_file.c	Sun Mar 29 06:15:40 2020	(r529773)
@@ -0,0 +1,14 @@
+--- src/Ylib/file.c.orig	2020-03-29 06:09:00 UTC
++++ src/Ylib/file.c
+@@ -133,7 +133,11 @@ char *pathname ;
+ 
+ } /* end Yfile_slink */
+ 
++#if defined(__FreeBSD__) || defined(__DragonFly__)
++#include <dirent.h>
++#else
+ #include <sys/dir.h>
++#endif
+ 
+ /* check if a directory exists */
+ BOOL YdirectoryExists(pathname)



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