summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-09-09 17:33:13 +0000
committerdrochner <drochner@pkgsrc.org>2004-09-09 17:33:13 +0000
commitc99a752ba46fe180a7fe137dcb1213c3c34cbbb5 (patch)
treee9d9be4a968ad3c21cb094d747995527537a86c6 /x11
parent0b9af8b69878ee164db38c8a46dc0f28e1be2191 (diff)
downloadpkgsrc-c99a752ba46fe180a7fe137dcb1213c3c34cbbb5.tar.gz
appearently, newer Python versions don't define ANY=void in the
exported header anymore so do this nonsense here to let the pkg build
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qt2-sip/distinfo3
-rw-r--r--x11/py-qt2-sip/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/x11/py-qt2-sip/distinfo b/x11/py-qt2-sip/distinfo
index 9b88ce6e1c9..aa15d125a55 100644
--- a/x11/py-qt2-sip/distinfo
+++ b/x11/py-qt2-sip/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/04/17 10:29:01 drochner Exp $
+$NetBSD: distinfo,v 1.2 2004/09/09 17:33:13 drochner Exp $
SHA1 (sip-3.1.tar.gz) = b930045b531a3a20cd4ef7146814540045d44e2a
Size (sip-3.1.tar.gz) = 367024 bytes
SHA1 (patch-aa) = 28cab67cc04659efda873c7407182968dabf09e7
+SHA1 (patch-ab) = ecb1c6fe784ed1a12d223c2dcf4aacf1655535b6
diff --git a/x11/py-qt2-sip/patches/patch-ab b/x11/py-qt2-sip/patches/patch-ab
new file mode 100644
index 00000000000..639cbc3123a
--- /dev/null
+++ b/x11/py-qt2-sip/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2004/09/09 17:33:13 drochner Exp $
+
+--- siplib/sip.h.orig 2002-03-19 00:33:26.000000000 +0100
++++ siplib/sip.h
+@@ -12,6 +12,9 @@
+ #define _SIP_H
+
+ #include <Python.h>
++#ifndef ANY
++#define ANY void
++#endif
+
+
+ #ifdef __cplusplus