aboutsummaryrefslogtreecommitdiff
path: root/graphics/geomview
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-26 14:25:09 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-26 14:25:09 +0000
commitbe0cebe018b09da8b250874db220c9ea2bb80ab5 (patch)
tree2f76ea15f318586373ca7a27cc53365ec2d44abd /graphics/geomview
parent0ef457ae80c2dbe5fb8384a6c09b72cedbbe8d62 (diff)
downloadports-be0cebe018b09da8b250874db220c9ea2bb80ab5.tar.gz
ports-be0cebe018b09da8b250874db220c9ea2bb80ab5.zip
graphics/geomview: Add DragonFly support
Bring in fix from dports (port is not maintained)
Notes
Notes: svn path=/head/; revision=382319
Diffstat (limited to 'graphics/geomview')
-rw-r--r--graphics/geomview/files/patch-src_bin_animate_glob.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/geomview/files/patch-src_bin_animate_glob.c b/graphics/geomview/files/patch-src_bin_animate_glob.c
new file mode 100644
index 000000000000..baf2126bb94a
--- /dev/null
+++ b/graphics/geomview/files/patch-src_bin_animate_glob.c
@@ -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
+