Make build with Python-2.3.

This commit is contained in:
wiz 2004-12-28 15:17:51 +00:00
parent 07dc306a00
commit 06452939ff
2 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2002/11/24 09:30:24 jdolecek Exp $
$NetBSD: distinfo,v 1.2 2004/12/28 15:17:51 wiz Exp $
SHA1 (py-kqueue-2.0.tar.gz) = 9b526dba2fcd8e91bae1faac603344e604cf1352
Size (py-kqueue-2.0.tar.gz) = 8911 bytes
SHA1 (patch-aa) = e0cd667ce451164f61465f4c17eb9a7b67c98c9e

View file

@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.1 2004/12/28 15:17:51 wiz Exp $
--- kqueuemodule.c.orig 2002-11-24 10:19:42.000000000 +0100
+++ kqueuemodule.c
@@ -30,6 +30,10 @@
#include <Python.h>
+#if defined(PY_LONG_LONG) && !defined(LONG_LONG)
+#define LONG_LONG PY_LONG_LONG
+#endif
+
#include <sys/event.h>
/* -=-=-=-=-=-=-=-=-=-=-=-= KEvent Object =-=-=-=-=-=-=-=-=-=-=-= */