diff options
author | rillig <rillig@pkgsrc.org> | 2005-03-16 12:02:20 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-03-16 12:02:20 +0000 |
commit | 05737401c4b27e81519d7467b477fb8dd8d757c9 (patch) | |
tree | f06062990b509e16f18ed1d658e67b375c404470 /net | |
parent | 34283f98ec119fd04c506154498c2e1e573db325 (diff) | |
download | pkgsrc-05737401c4b27e81519d7467b477fb8dd8d757c9.tar.gz |
Added a patch to include the system headers before <Python.h>, as the latter
redefines about everything. Approved by wiz.
Diffstat (limited to 'net')
-rw-r--r-- | net/py-twisted/distinfo | 3 | ||||
-rw-r--r-- | net/py-twisted/patches/patch-ab | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/net/py-twisted/distinfo b/net/py-twisted/distinfo index 3806217cd01..031937fd7ca 100644 --- a/net/py-twisted/distinfo +++ b/net/py-twisted/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:14:02 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/03/16 12:02:20 rillig Exp $ SHA1 (Twisted-1.3.0.tar.bz2) = fd6eb6dcffa2aac5cf6e27f60d6f92bfb0ac27dd RMD160 (Twisted-1.3.0.tar.bz2) = 2135cc65c0b45173356dbbbf9e7d581cf9048efa Size (Twisted-1.3.0.tar.bz2) = 5839753 bytes SHA1 (patch-aa) = c8478bab88d0ade3399bb3bb697020dd3c8ac65c +SHA1 (patch-ab) = 26495e5abd57025e915b923cc7089704bbd85629 diff --git a/net/py-twisted/patches/patch-ab b/net/py-twisted/patches/patch-ab new file mode 100644 index 00000000000..3113b15253e --- /dev/null +++ b/net/py-twisted/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1 2005/03/16 12:02:20 rillig Exp $ + +Let's be polite and let the system first include its headers before +Python redefines everything. + +--- twisted/runner/portmap.c.orig Thu Dec 5 08:59:31 2002 ++++ twisted/runner/portmap.c Wed Mar 16 03:41:57 2005 +@@ -19,9 +19,9 @@ + + /* portmap.c: A simple Python wrapper for pmap_set(3) and pmap_unset(3) */ + +-#include <Python.h> + #include <rpc/rpc.h> + #include <rpc/pmap_clnt.h> ++#include <Python.h> + + static PyObject * portmap_set(PyObject *self, PyObject *args) + { |