Really fix python build this time, and use some patches from pkgsrc
to fix curses, mremap, and bluetooth modules. --HG-- extra : convert_revision : fd555dc3aeb2085fe1d7913bd5d4fdc24c41959e
This commit is contained in:
parent
ec04f32481
commit
2a2f97a1da
5 changed files with 139 additions and 1 deletions
14
templates/python-2.5.2-fix-bluetooth.diff
Normal file
14
templates/python-2.5.2-fix-bluetooth.diff
Normal file
|
@ -0,0 +1,14 @@
|
|||
$NetBSD: patch-ap,v 1.1.1.1 2008/04/24 01:50:58 tnn Exp $
|
||||
|
||||
--- Modules/socketmodule.c.orig 2007-03-31 20:56:11.000000000 +0200
|
||||
+++ Modules/socketmodule.c
|
||||
@@ -357,7 +357,8 @@ const char *inet_ntop(int af, const void
|
||||
#define SOCKETCLOSE close
|
||||
#endif
|
||||
|
||||
-#if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)
|
||||
+#if (defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)) && \
|
||||
+ !defined(__NetBSD__) && !defined(__DragonFly__)
|
||||
#define USE_BLUETOOTH 1
|
||||
#if defined(__FreeBSD__)
|
||||
#define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP
|
Loading…
Add table
Add a link
Reference in a new issue