diff options
author | tron <tron@pkgsrc.org> | 2006-06-20 13:29:01 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-06-20 13:29:01 +0000 |
commit | ab5ff69efc377e23cf9c0e7f3724ac8666035ff0 (patch) | |
tree | a2c41a673a7550f2658d2ec891d18be22c8b357d /lang/python24 | |
parent | 8cc6ca7e8fa02cc38190164b1a8611fe2d0a0075 (diff) | |
download | pkgsrc-ab5ff69efc377e23cf9c0e7f3724ac8666035ff0.tar.gz |
Don't try to compile in Bluetooth support under NetBSD(-current).
The stub code is not compatible with the API presented by NetBSD.
Diffstat (limited to 'lang/python24')
-rw-r--r-- | lang/python24/distinfo | 3 | ||||
-rw-r--r-- | lang/python24/patches/patch-ap | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/lang/python24/distinfo b/lang/python24/distinfo index aeb739a0646..eaf49eff456 100644 --- a/lang/python24/distinfo +++ b/lang/python24/distinfo @@ -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-al) = 3dccd19d56685ab447c3629c4c360881dcca4c3d SHA1 (patch-am) = a8be9e5d3558c27e38d4323601335ad3bcde1f85 SHA1 (patch-an) = 0ae5b3d547c7dbe1366c5ae6c60c11516e4550b8 SHA1 (patch-ao) = 0e8564ec8157fb5c48c801294213c66ae89a55a1 +SHA1 (patch-ap) = 477adb465ef7ba2d0458cbaec74cd2841dcdea14 diff --git a/lang/python24/patches/patch-ap b/lang/python24/patches/patch-ap new file mode 100644 index 00000000000..c3ba93de1fb --- /dev/null +++ b/lang/python24/patches/patch-ap @@ -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 |