mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
graphics/geomview: Add DragonFly support
Bring in fix from dports (port is not maintained)
This commit is contained in:
parent
0ef457ae80
commit
be0cebe018
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382319
13
graphics/geomview/files/patch-src_bin_animate_glob.c
Normal file
13
graphics/geomview/files/patch-src_bin_animate_glob.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- src/bin/animate/glob.c.orig 2014-03-12 16:51:10 UTC
|
||||
+++ src/bin/animate/glob.c
|
||||
@@ -41,7 +41,9 @@ static char sccsid[] = "@(#)glob.c 5.7 (
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
|
||||
-#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__CYGWIN__) && !defined(__APPLE__)
|
||||
+#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && \
|
||||
+ !defined(__FreeBSD__) && !defined(__CYGWIN__) && !defined(__APPLE__) && \
|
||||
+ !defined(__DragonFly__)
|
||||
#define dirfd(dirp) ((dirp)->dd_fd)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user