summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-12-28 15:17:51 +0000
committerwiz <wiz@pkgsrc.org>2004-12-28 15:17:51 +0000
commit54b554f2752dfd57d76a3abd34c9da14a512bbd0 (patch)
tree158016926ff6aadef95b87a7da418e184aa83f98 /devel
parent588d14b4c26e2f183fdb98ba07dfb13149c7ddf0 (diff)
downloadpkgsrc-54b554f2752dfd57d76a3abd34c9da14a512bbd0.tar.gz
Make build with Python-2.3.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-kqueue/distinfo3
-rw-r--r--devel/py-kqueue/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
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 <Python.h>
+
++#if defined(PY_LONG_LONG) && !defined(LONG_LONG)
++#define LONG_LONG PY_LONG_LONG
++#endif
++
+ #include <sys/event.h>
+
+ /* -=-=-=-=-=-=-=-=-=-=-=-= KEvent Object =-=-=-=-=-=-=-=-=-=-=-= */