pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/py-qt2-sip appearently, newer Python versions don'...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d92007b90dd
branches:  trunk
changeset: 480436:2d92007b90dd
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Thu Sep 09 17:33:13 2004 +0000

description:
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:

 x11/py-qt2-sip/distinfo         |   3 ++-
 x11/py-qt2-sip/patches/patch-ab |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r dc47ec2cfc30 -r 2d92007b90dd x11/py-qt2-sip/distinfo
--- a/x11/py-qt2-sip/distinfo   Thu Sep 09 12:25:27 2004 +0000
+++ b/x11/py-qt2-sip/distinfo   Thu Sep 09 17:33:13 2004 +0000
@@ -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 -r dc47ec2cfc30 -r 2d92007b90dd x11/py-qt2-sip/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-qt2-sip/patches/patch-ab   Thu Sep 09 17:33:13 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index