From 54b554f2752dfd57d76a3abd34c9da14a512bbd0 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 28 Dec 2004 15:17:51 +0000 Subject: Make build with Python-2.3. --- devel/py-kqueue/distinfo | 3 ++- devel/py-kqueue/patches/patch-aa | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 devel/py-kqueue/patches/patch-aa (limited to 'devel') diff --git a/devel/py-kqueue/distinfo b/devel/py-kqueue/distinfo index 1d40d98b741..4e1a311b624 100644 --- a/devel/py-kqueue/distinfo +++ b/devel/py-kqueue/distinfo @@ -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 diff --git a/devel/py-kqueue/patches/patch-aa b/devel/py-kqueue/patches/patch-aa new file mode 100644 index 00000000000..bb049a38350 --- /dev/null +++ b/devel/py-kqueue/patches/patch-aa @@ -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 + ++#if defined(PY_LONG_LONG) && !defined(LONG_LONG) ++#define LONG_LONG PY_LONG_LONG ++#endif ++ + #include + + /* -=-=-=-=-=-=-=-=-=-=-=-= KEvent Object =-=-=-=-=-=-=-=-=-=-=-= */ -- cgit v1.2.3