summaryrefslogtreecommitdiff
path: root/graphics/gphoto2/files/patch-az
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-04-29 21:12:12 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-04-29 21:12:12 +0000
commitfb9f5ef38a55ad57f40101b91e8c383085cf0fbc (patch)
tree9a5c9f437e39fca1f738335e4a3def79ec7afa3f /graphics/gphoto2/files/patch-az
parentMark BROKEN: icqnix.install does not compile (diff)
Update to 4.0.3
PR: 18139 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=28081
Diffstat (limited to 'graphics/gphoto2/files/patch-az')
-rw-r--r--graphics/gphoto2/files/patch-az22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/gphoto2/files/patch-az b/graphics/gphoto2/files/patch-az
new file mode 100644
index 000000000000..7a2668d3f139
--- /dev/null
+++ b/graphics/gphoto2/files/patch-az
@@ -0,0 +1,22 @@
+--- src/util.c.orig Tue Mar 7 06:23:06 2000
++++ src/util.c Thu Apr 20 03:00:00 2000
+@@ -1,3 +1,4 @@
++#include "config.h"
+ #include "gphoto.h"
+ #include "util.h"
+ #include <stdio.h>
+@@ -9,10 +10,12 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <errno.h>
+-#include <sys/dir.h>
++#ifdef HAVE_DIRENT_H
+ #include <dirent.h>
+-#ifdef __FreeBSD__
+ #else
++#include <sys/dir.h>
++#endif
++#ifndef __FreeBSD__
+ #include <sys/resource.h>
+ #endif
+ #ifdef linux