pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41640: Missing bluetooth support in comms/obexftp for DragonFly
>Number: 41640
>Category: pkg
>Synopsis: Missing bluetooth support in comms/obexftp for DragonFly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jun 27 23:05:00 +0000 2009
>Originator: Rumko
>Release: DragonFly BSD
>Organization:
>Environment:
DragonFly rumko.rumko.net 2.3.1-DEVELOPMENT DragonFly 2.3.1-DEVELOPMENT #501:
Sat Jun 27 21:22:12 CEST 2009
root%rumko.rumko.net@localhost:/usr/obj/usr/src/sys/MYPRECIOUS i386
>Description:
obexftp has bluetooth support for NetBSD enabled (with additional patching),
but for DragonFly BSD it does not.
Attached patch changes patches which add bluetooth support on NetBSD so that it
adds bluetooth support on DragonFly BSD as well.
>How-To-Repeat:
bmake configure, see that bluetooth support is disabled
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 22 May 2009 07:16:58 -0000 1.12
+++ Makefile 27 Jun 2009 21:10:06 -0000
@@ -23,7 +23,7 @@
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "NetBSD" && exists(/usr/include/bluetooth.h))
+.if ((${OPSYS} == "NetBSD" && exists(/usr/include/bluetooth.h)) || ${OPSYS} ==
"DragonFly")
CPPFLAGS+= -DCOMPAT_BLUEZ -DSDP_COMPAT
.endif
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo 7 Dec 2006 14:22:18 -0000 1.6
+++ distinfo 27 Jun 2009 21:10:06 -0000
@@ -3,15 +3,15 @@
SHA1 (obexftp-0.20.tar.bz2) = 0b3a7d2aeb0dbd24d75761a7e59f42f46ea5ef82
RMD160 (obexftp-0.20.tar.bz2) = ded5cf4d95eac77d5f6ee0a39f3789eb962534ed
Size (obexftp-0.20.tar.bz2) = 351641 bytes
-SHA1 (patch-aa) = e70d2fd0655a95a43f3a9440e5a2e2ab91a2ed54
-SHA1 (patch-ab) = d4693413a992f53f6aca92d9e920185c1b5e4f0e
-SHA1 (patch-ac) = d06b6be98745778e2ce8e97762c102d4dbccecfc
-SHA1 (patch-ad) = 8c3b99cbc2f45fe039aae000aeebb2d5779355f9
-SHA1 (patch-ae) = 276fa421e2f20784cbcb873b0ce6870bef71d033
-SHA1 (patch-af) = 4de53a6ec0d711f948980cdfdd4adea3928b64bd
-SHA1 (patch-ag) = e61fdbba340af591318b1aa3b70272a969e01e70
+SHA1 (patch-aa) = 65925a0df323cd391dab48f45fcf6c99dbcc8fbb
+SHA1 (patch-ab) = 0a0c2cbcfc9449df48e8340dba1593d5593129f5
+SHA1 (patch-ac) = 6b44406a04ea81eb615d6ed9ffebf2db27008e35
+SHA1 (patch-ad) = 00ada8c88756d3201b02e5a0b9467a7ee1ad0f50
+SHA1 (patch-ae) = d08fd3b4aa5e2f61eda5ea6d3f6656f8b036af30
+SHA1 (patch-af) = f1e96b8a15a4fec69b81d19635a674ee307d31c1
+SHA1 (patch-ag) = 7a3f10354e8a86022cac360b8a36198d9e7449ab
SHA1 (patch-ah) = c0fe5bd78e7614a7eb6adb7154676fd9bde7a31c
-SHA1 (patch-ai) = 2e77a0cd8998f3a558a2587b5cbdc7c0e080bc0f
-SHA1 (patch-aj) = c563733a616ec0ad5b94a3ff8de5e3a2e91ccd5b
-SHA1 (patch-ak) = 3131a38f66bec5d0bba563e72ad2a75f21e65b99
+SHA1 (patch-ai) = 8baf3463303156e890316622ddeb011842acaa85
+SHA1 (patch-aj) = 26f6509d26aaa893fe6018bd048135fb077e0b9c
+SHA1 (patch-ak) = bdef026206a0dca2c4781b06bbdfdd90f1c934f6
SHA1 (patch-al) = 1f2dd6ed302711f17e33584cc34f6f674a6973c7
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-aa,v
retrieving revision 1.4
diff -u -r1.4 patch-aa
--- patches/patch-aa 7 Dec 2006 14:22:18 -0000 1.4
+++ patches/patch-aa 27 Jun 2009 21:10:06 -0000
@@ -6,7 +6,7 @@
#ifdef __FreeBSD__
#include <sys/types.h>
#include <bluetooth.h>
-+ #elif defined(__NetBSD__)
++ #elif defined(__NetBSD__) ||
defined(__DragonFly__)
+ #include <bluetooth.h>
+ #include <netbt/rfcomm.h>
#else /* Linux */
@@ -16,7 +16,7 @@
#ifdef __FreeBSD__
bdaddr_t bdaddr;
struct sockaddr_rfcomm addr;
-+ #elif defined(__NetBSD__)
++ #elif defined(__NetBSD__) ||
defined(__DragonFly__)
+ bdaddr_t bdaddr;
+ struct sockaddr_bt addr;
#else /* Linux */
@@ -34,14 +34,14 @@
AC_MSG_CHECKING(for Bluetooth SDP support)
AC_TRY_COMPILE( [
-+ #ifdef __NetBSD__
++ #if defined(__NetBSD__) ||
defined(__DragonFly__)
+ #include <bluetooth.h>
+ #include <sdp.h>
+ #else
#include <bluetooth/sdp.h>
+ #endif
],[
-+ #ifdef __NetBSD__
++ #if defined(__NetBSD__) ||
defined(__DragonFly__)
+ sdp_attr_t attr;
+ #else
sdp_list_t sdplist;
@@ -58,7 +58,7 @@
AC_MSG_CHECKING(for USB support)
AC_TRY_COMPILE( [
-+ #ifdef __NetBSD__
++ #if defined(__NetBSD__) ||
defined(__DragonFly__)
+ #include <bluetooth.h>
+ #else
+ #include <bluetooth/bluetooth.h>
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- patches/patch-ab 17 Jul 2006 12:29:57 -0000 1.2
+++ patches/patch-ab 27 Jun 2009 21:10:06 -0000
@@ -7,7 +7,7 @@
#endif
+#ifdef HAVE_BLUETOOTH
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
Index: patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-ac,v
retrieving revision 1.2
diff -u -r1.2 patch-ac
--- patches/patch-ac 17 Jul 2006 12:29:57 -0000 1.2
+++ patches/patch-ac 27 Jun 2009 21:10:06 -0000
@@ -14,7 +14,7 @@
+#include <sys/types.h>
+
+#ifdef HAVE_BLUETOOTH
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
Index: patches/patch-ad
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-ad,v
retrieving revision 1.2
diff -u -r1.2 patch-ad
--- patches/patch-ad 17 Jul 2006 12:29:57 -0000 1.2
+++ patches/patch-ad 27 Jun 2009 21:10:06 -0000
@@ -16,7 +16,7 @@
#include <time.h>
+
+#ifdef HAVE_BLUETOOTH
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
Index: patches/patch-ae
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-ae,v
retrieving revision 1.2
diff -u -r1.2 patch-ae
--- patches/patch-ae 17 Jul 2006 12:29:57 -0000 1.2
+++ patches/patch-ae 27 Jun 2009 21:10:06 -0000
@@ -6,7 +6,7 @@
#ifdef __FreeBSD__
#include <sys/types.h>
#include <bluetooth.h>
-+#elif defined(__NetBSD__)
++#elif defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/types.h>
+#include <bluetooth.h>
+#include <netbt/rfcomm.h>
Index: patches/patch-af
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-af,v
retrieving revision 1.2
diff -u -r1.2 patch-af
--- patches/patch-af 17 Jul 2006 12:29:57 -0000 1.2
+++ patches/patch-af 27 Jun 2009 21:10:06 -0000
@@ -11,7 +11,7 @@
+#endif
+
+#ifdef HAVE_BLUETOOTH
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
Index: patches/patch-ag
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-ag,v
retrieving revision 1.2
diff -u -r1.2 patch-ag
--- patches/patch-ag 17 Jul 2006 12:29:57 -0000 1.2
+++ patches/patch-ag 27 Jun 2009 21:10:06 -0000
@@ -7,7 +7,7 @@
#endif
+#ifdef HAVE_BLUETOOTH
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
Index: patches/patch-ai
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-ai,v
retrieving revision 1.2
diff -u -r1.2 patch-ai
--- patches/patch-ai 24 Jul 2006 17:07:15 -0000 1.2
+++ patches/patch-ai 27 Jun 2009 21:10:06 -0000
@@ -18,7 +18,7 @@
#endif /*_WIN32*/
+#ifdef HAVE_BLUETOOTH
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
Index: patches/patch-aj
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-aj,v
retrieving revision 1.1
diff -u -r1.1 patch-aj
--- patches/patch-aj 17 Jul 2006 12:29:57 -0000 1.1
+++ patches/patch-aj 27 Jun 2009 21:10:06 -0000
@@ -6,7 +6,7 @@
#include <sys/types.h>
#include <sys/socket.h>
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#include <err.h>
+#include <errno.h>
Index: patches/patch-ak
===================================================================
RCS file: /cvsroot/pkgsrc/comms/obexftp/patches/patch-ak,v
retrieving revision 1.2
diff -u -r1.2 patch-ak
--- patches/patch-ak 24 Jul 2006 17:07:15 -0000 1.2
+++ patches/patch-ak 27 Jun 2009 21:10:06 -0000
@@ -15,7 +15,7 @@
#include <sys/types.h>
#include <sys/socket.h>
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#include <sdp.h>
+
Home |
Main Index |
Thread Index |
Old Index