pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/obexftp Make the USB_CHECK test pass correctly o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e618149c0cd8
branches:  trunk
changeset: 520504:e618149c0cd8
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sun Oct 22 16:38:40 2006 +0000

description:
Make the USB_CHECK test pass correctly on NetBSD, necessary to
enable the USB transport.

Bump PKGREVISION.

diffstat:

 comms/obexftp/Makefile         |   3 ++-
 comms/obexftp/distinfo         |   4 ++--
 comms/obexftp/patches/patch-aa |  27 +++++++++++++++++++--------
 3 files changed, 23 insertions(+), 11 deletions(-)

diffs (87 lines):

diff -r 7d27a950f2ae -r e618149c0cd8 comms/obexftp/Makefile
--- a/comms/obexftp/Makefile    Sun Oct 22 16:36:35 2006 +0000
+++ b/comms/obexftp/Makefile    Sun Oct 22 16:38:40 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2006/10/04 20:51:40 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2006/10/22 16:38:40 xtraeme Exp $
 #
 
 DISTNAME=      obexftp-0.20
+PKGREVISION=   1
 CATEGORIES=    comms
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openobex/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 7d27a950f2ae -r e618149c0cd8 comms/obexftp/distinfo
--- a/comms/obexftp/distinfo    Sun Oct 22 16:36:35 2006 +0000
+++ b/comms/obexftp/distinfo    Sun Oct 22 16:38:40 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2006/07/24 17:07:15 xtraeme Exp $
+$NetBSD: distinfo,v 1.5 2006/10/22 16:38:40 xtraeme Exp $
 
 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) = 7caed98158f6c17c3f3f64f3058f66abcf219559
+SHA1 (patch-aa) = 34e1794f7cf4d06d4edb65cdd36470fa88afdb71
 SHA1 (patch-ab) = d4693413a992f53f6aca92d9e920185c1b5e4f0e
 SHA1 (patch-ac) = d06b6be98745778e2ce8e97762c102d4dbccecfc
 SHA1 (patch-ad) = 8c3b99cbc2f45fe039aae000aeebb2d5779355f9
diff -r 7d27a950f2ae -r e618149c0cd8 comms/obexftp/patches/patch-aa
--- a/comms/obexftp/patches/patch-aa    Sun Oct 22 16:36:35 2006 +0000
+++ b/comms/obexftp/patches/patch-aa    Sun Oct 22 16:38:40 2006 +0000
@@ -1,8 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2006/07/17 12:29:57 xtraeme Exp $
-
---- aclocal.m4.orig    2006-05-16 15:50:36.000000000 +0100
-+++ aclocal.m4
-@@ -56,6 +56,9 @@ if test "$ac_bluetooth_enabled" = yes; t
+--- aclocal.m4.orig    2006-05-16 16:50:36.000000000 +0200
++++ aclocal.m4 2006-10-22 10:07:38.000000000 +0200
+@@ -56,6 +56,9 @@
                                #ifdef __FreeBSD__
                                #include <sys/types.h>
                                #include <bluetooth.h>
@@ -12,7 +10,7 @@
                                #else /* Linux */
                                #include <sys/socket.h>
                                #include <bluetooth/bluetooth.h>
-@@ -65,6 +68,9 @@ if test "$ac_bluetooth_enabled" = yes; t
+@@ -65,6 +68,9 @@
                                #ifdef __FreeBSD__
                                bdaddr_t bdaddr;
                                struct sockaddr_rfcomm addr;
@@ -22,7 +20,7 @@
                                #else /* Linux */
                                bdaddr_t bdaddr;
                                struct sockaddr_rc addr;
-@@ -76,6 +82,7 @@ if test "$ac_bluetooth_enabled" = yes; t
+@@ -76,6 +82,7 @@
                AC_DEFINE([HAVE_BLUETOOTH], [1], [Define if system supports Bluetooth and it's enabled])
                BLUETOOTH_CFLAGS=""
                BLUETOOTH_LIBS="-lbluetooth"
@@ -30,7 +28,7 @@
        fi
        AC_SUBST(BLUETOOTH_CFLAGS)
        AC_SUBST(BLUETOOTH_LIBS)
-@@ -92,14 +99,22 @@ AC_DEFUN([SDPLIB_CHECK],[
+@@ -92,14 +99,22 @@
        AC_MSG_CHECKING(for Bluetooth SDP support)
  
        AC_TRY_COMPILE( [
@@ -54,3 +52,16 @@
        if test $am_cv_sdplib_found = yes; then
                AC_DEFINE(HAVE_SDPLIB,1,[Define if system supports Bluetooth SDP])
  
+@@ -118,6 +133,12 @@
+       AC_MSG_CHECKING(for USB support)
+ 
+       AC_TRY_COMPILE( [
++                              #ifdef __NetBSD__
++                              #include <bluetooth.h>
++                              #else
++                              #include <bluetooth/bluetooth.h>
++                              #endif
++
+                               #include <openobex/obex.h>
+                               #include <openobex/obex_const.h>
+                       ],[



Home | Main Index | Thread Index | Old Index