summaryrefslogtreecommitdiff
path: root/comms/obexftp/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'comms/obexftp/patches/patch-ad')
-rw-r--r--comms/obexftp/patches/patch-ad36
1 files changed, 26 insertions, 10 deletions
diff --git a/comms/obexftp/patches/patch-ad b/comms/obexftp/patches/patch-ad
index bae3fbcaa76..c017c183b75 100644
--- a/comms/obexftp/patches/patch-ad
+++ b/comms/obexftp/patches/patch-ad
@@ -1,12 +1,28 @@
-$NetBSD: patch-ad,v 1.1.1.1 2004/02/26 12:50:45 jmmv Exp $
+$NetBSD: patch-ad,v 1.2 2006/07/17 12:29:57 xtraeme Exp $
---- obexftp/dirtraverse.c.orig 2003-01-15 23:52:47.000000000 +0100
-+++ obexftp/dirtraverse.c
-@@ -22,6 +22,7 @@
- #include <string.h>
- #include <unistd.h>
- #include <stdlib.h>
-+#include <limits.h>
+--- obexftp/client.h.orig 2006-01-11 16:22:51.000000000 +0100
++++ obexftp/client.h 2006-07-09 12:39:10.000000000 +0200
+@@ -22,9 +22,23 @@
+ #ifndef OBEXFTP_CLIENT_H
+ #define OBEXFTP_CLIENT_H
+
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
+ #include <inttypes.h>
#include <sys/stat.h>
- #include <sys/types.h>
- #ifdef _WIN32
++#include <sys/types.h>
+ #include <time.h>
++
++#ifdef HAVE_BLUETOOTH
++#ifdef __NetBSD__
++#include <bluetooth.h>
++#else
++#include <bluetooth/bluetooth.h>
++#endif
++#endif /* HAVE_BLUETOOTH */
++
+ #include <openobex/obex.h>
+ #ifndef OBEX_TRANS_USB
+ #define OBEX_TRANS_USB 6