pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python24 Don't try to compile in Bluetooth suppor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd3734601bde
branches:  trunk
changeset: 514887:bd3734601bde
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Jun 20 13:29:01 2006 +0000

description:
Don't try to compile in Bluetooth support under NetBSD(-current).
The stub code is not compatible with the API presented by NetBSD.

diffstat:

 lang/python24/distinfo         |   3 ++-
 lang/python24/patches/patch-ap |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r f7f8c4ad990d -r bd3734601bde lang/python24/distinfo
--- a/lang/python24/distinfo    Tue Jun 20 13:07:20 2006 +0000
+++ b/lang/python24/distinfo    Tue Jun 20 13:29:01 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2006/04/13 02:26:54 joerg Exp $
+$NetBSD: distinfo,v 1.19 2006/06/20 13:29:01 tron Exp $
 
 SHA1 (Python-2.4.3.tar.bz2) = d6b81e1aec0045b5acff99676f2abe303da1b384
 RMD160 (Python-2.4.3.tar.bz2) = c86247554975e6c44f91d05e44e68e280d5244dc
@@ -18,3 +18,4 @@
 SHA1 (patch-am) = a8be9e5d3558c27e38d4323601335ad3bcde1f85
 SHA1 (patch-an) = 0ae5b3d547c7dbe1366c5ae6c60c11516e4550b8
 SHA1 (patch-ao) = 0e8564ec8157fb5c48c801294213c66ae89a55a1
+SHA1 (patch-ap) = 477adb465ef7ba2d0458cbaec74cd2841dcdea14
diff -r f7f8c4ad990d -r bd3734601bde lang/python24/patches/patch-ap
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/patches/patch-ap    Tue Jun 20 13:29:01 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ap,v 1.1 2006/06/20 13:29:01 tron Exp $
+
+--- Modules/socketmodule.c.orig        2006-02-20 09:42:37.000000000 +0000
++++ Modules/socketmodule.c     2006-06-20 14:23:33.000000000 +0100
+@@ -341,7 +341,8 @@
+ #define SEGMENT_SIZE 65535
+ #endif
+ 
+-#if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)
++#if (defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)) && \
++    !defined(__NetBSD__)
+ #define USE_BLUETOOTH 1
+ #if defined(__FreeBSD__)
+ #define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP



Home | Main Index | Thread Index | Old Index