pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-twisted Added a patch to include the system hea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86b86cee1af5
branches:  trunk
changeset: 490603:86b86cee1af5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Mar 16 12:02:20 2005 +0000

description:
Added a patch to include the system headers before <Python.h>, as the latter
redefines about everything. Approved by wiz.

diffstat:

 net/py-twisted/distinfo         |   3 ++-
 net/py-twisted/patches/patch-ab |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r d52c8cf445a2 -r 86b86cee1af5 net/py-twisted/distinfo
--- a/net/py-twisted/distinfo   Wed Mar 16 11:56:13 2005 +0000
+++ b/net/py-twisted/distinfo   Wed Mar 16 12:02:20 2005 +0000
@@ -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 -r d52c8cf445a2 -r 86b86cee1af5 net/py-twisted/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-twisted/patches/patch-ab   Wed Mar 16 12:02:20 2005 +0000
@@ -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)
+ {



Home | Main Index | Thread Index | Old Index