NetBSD Problem Report #37821
From martin@duskware.de Sun Jan 20 13:51:44 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id E9E5763BB32
for <gnats-bugs@gnats.netbsd.org>; Sun, 20 Jan 2008 13:51:43 +0000 (UTC)
Message-Id: <20080120074949.658A463BB1C@narn.NetBSD.org>
Date: Sun, 20 Jan 2008 07:49:49 +0000 (UTC)
From: hasso@estpak.ee
Reply-To: hasso@estpak.ee
To: netbsd-bugs-owner@NetBSD.org
Subject: lang/python24 is broken for DragonFly
X-Send-Pr-Version: www-1.0
>Number: 37821
>Category: pkg
>Synopsis: lang/python24 is broken for DragonFly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: dfly-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 20 13:55:01 +0000 2008
>Closed-Date: Sun Apr 06 16:28:53 +0000 2008
>Last-Modified: Sun Apr 06 16:28:53 +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.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->dfly-pkg-people
Responsible-Changed-By: snj@narn.netbsd.org
Responsible-Changed-When: Tue, 22 Jan 2008 00:18:06 +0000
Responsible-Changed-Why:
Dragonfly problem.
From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37821 CVS commit: pkgsrc/lang/python24
Date: Fri, 22 Feb 2008 13:03:25 +0000 (UTC)
Module Name: pkgsrc
Committed By: joerg
Date: Fri Feb 22 13:03:25 UTC 2008
Modified Files:
pkgsrc/lang/python24: distinfo
pkgsrc/lang/python24/patches: patch-ap
Log Message:
Don't use FreeBSD's bluetooth define on DragonFly as well.
From PR 37821.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 pkgsrc/lang/python24/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/lang/python24/patches/patch-ap
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Sun, 06 Apr 2008 16:28:53 +0000
State-Changed-Why:
Fix was committed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.