pkgsrc-Bugs archive

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

pkg/37821: lang/python24 is broken for DragonFly



>Number:         37821
>Category:       pkg
>Synopsis:       lang/python24 is broken for DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 20 13:55:01 +0000 2008
>Originator:     Hasso Tepper
>Release:        
>Organization:
>Environment:
DragonFly 1.11.0-DEVELOPMENT
>Description:
lang/python24 doesn't build in DragonFly.
>How-To-Repeat:

>Fix:
patches/patch-ap should be updated to treat DragonFly in similar way as NetBSD 
(DragonFly uses bluetooth stack from NetBSD).

$ cat patches/patch-ap
--- Modules/socketmodule.c.orig 2006-10-10 19:20:41 +0300
+++ Modules/socketmodule.c      2008-01-18 12:57:32 +0200
@@ -355,7 +355,8 @@ const char *inet_ntop(int af, const void
 #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__) && !defined(__DragonFly__)
 #define USE_BLUETOOTH 1
 #if defined(__FreeBSD__)
 #define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP

Please pull it to 2007Q4 as well, otherwise python24 will not build with soon 
to be released DragonFly 2.0.




Home | Main Index | Thread Index | Old Index