summaryrefslogtreecommitdiff
path: root/comms/openobex/patches/patch-aa
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-07-09 09:27:52 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-07-09 09:27:52 +0000
commit730eabc79c8ac07f77a6a1d49ce5809b960e2093 (patch)
treefccf9a4bd9971d125013227eb96805695f7a2595 /comms/openobex/patches/patch-aa
parent058b1dce8b4200b1cdef4530ce5345fc090aacc0 (diff)
downloadpkgsrc-730eabc79c8ac07f77a6a1d49ce5809b960e2093.tar.gz
Update to 1.3:
ver 1.3: Add support for setting the creation-ID. Updated constants to match IrOBEX 1.3. Replace netbuf implementation with databuffer. Fix segmentation fault when receiving invalid OBEX packets. ver 1.2: Add OBEX_EV_REQCHECK support. Add support for suspend after sending a header. Add support for empty headers for buggy OBEX servers. Fix memory leak in obex_object_send(). ver 1.1: Fix list of exported functions. Fix duplicate string from basename() result. Fix wrong order of sanity checks. Fix memory leak in send_stream() function. ISO C99 says that inttypes.h includes stdint.h header. Add proper client side ABORT support. Add support for OBEX_SuspendRequest() and OBEX_ResumeRequest(). Add USB transport support. Increase the allowed maximum MTU to 64kB-1. Disconnect when an ABORT fails. Make it possible to include headers from C++ source code. Advertise OBEX Protocol Version 1.0. pkgsrc: * I've added patches to detect properly NetBSD bluetooth support and I have sent it to the openobex folks, they will be integrated soon. * Take maintainership for now. * Bump BUILDLINK_API_DEPENDS because the API has changed. *** PLEASE DO NOT TOUCH OBEXFTP, I'M UPDATING IT RIGHT NOW. THANKS ***
Diffstat (limited to 'comms/openobex/patches/patch-aa')
-rw-r--r--comms/openobex/patches/patch-aa45
1 files changed, 10 insertions, 35 deletions
diff --git a/comms/openobex/patches/patch-aa b/comms/openobex/patches/patch-aa
index 1ce49a9e904..b4ce5c27221 100644
--- a/comms/openobex/patches/patch-aa
+++ b/comms/openobex/patches/patch-aa
@@ -1,38 +1,13 @@
-$NetBSD: patch-aa,v 1.1 2006/07/02 18:16:53 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2006/07/09 09:27:52 xtraeme Exp $
---- src/obex_transport.h.orig 2003-10-01 13:17:13.000000000 +0200
-+++ src/obex_transport.h 2006-07-02 18:51:48.000000000 +0200
-@@ -39,7 +39,11 @@
- #ifdef HAVE_IRDA
- #include "irda_wrap.h"
- #endif /*HAVE_IRDA*/
--#ifdef HAVE_BLUETOOTH
-+
-+#if defined(HAVE_BLUETOOTH) && defined(__NetBSD__)
-+#include <bluetooth.h>
-+#include <netbt/rfcomm.h>
-+#elif defined(HAVE_BLUETOOTH)
- #include <bluetooth/bluetooth.h>
- #include <bluetooth/rfcomm.h>
- #endif /*HAVE_BLUETOOTH*/
-@@ -52,7 +56,11 @@
- #endif /*HAVE_IRDA*/
- struct sockaddr_in inet;
- #ifdef HAVE_BLUETOOTH
-+#ifdef __NetBSD__
-+ struct sockaddr_bt rfcomm;
-+#else
- struct sockaddr_rc rfcomm;
-+#endif
- #endif /*HAVE_BLUETOOTH*/
- } saddr_t;
-
-@@ -76,7 +84,4 @@
- int obex_transport_read(obex_t *self, int count, uint8_t *buf, int buflen);
+--- configure.in.orig 2006-06-14 11:24:13.000000000 +0200
++++ configure.in 2006-07-09 10:01:18.000000000 +0200
+@@ -23,6 +23,8 @@
+ AC_PATH_BLUEZ
+ AC_PATH_USB
++NETBSD_BLUETOOTH_CHECK
++
+ AC_ARG_OPENOBEX
--#endif OBEX_TRANSPORT_H
--
--
--
-+#endif /* OBEX_TRANSPORT_H */
+ AC_OUTPUT(Makefile include/Makefile lib/Makefile apps/Makefile ircp/Makefile doc/Makefile openobex.pc)