Subject: pkg/28853: py-kqueue won't compile; fix included
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <t.e.spanjaard@student.utwente.nl>
List: pkgsrc-bugs
Date: 01/03/2005 22:00:01
>Number:         28853
>Category:       pkg
>Synopsis:       py-kqueue won't compile; fix included
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 03 22:00:00 +0000 2005
>Originator:     Thomas E. Spanjaard
>Release:        2.0_RELEASE
>Organization:
University of Twente
>Environment:
NetBSD ip54532528.speed.planet.nl 2.0 NetBSD 2.0 (PROPYL) #1: Thu Dec 30 13:38:47 UTC 2004  tgen@ip54532528.speed.planet.nl:/usr/src/sys/arch/i386/compile/PROPYL i386

>Description:
pkgsrc/devel/py-kqueue hasn't been updated for the namechange Python 2.3 included: the type LONG_LONG no longer exists and is replaced by PY_LONG_LONG.
>How-To-Repeat:
cd pkgsrc/devel/py-kqueue/; make

Watch the errors roll by.
>Fix:
add:
#include <pyport.h>
#define LONG_LONG PY_LONG_LONG

to kqueuemodule.c