pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-libdnet Fix errno usage in Python (!) code.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f76d30fc69cf
branches:  trunk
changeset: 510046:f76d30fc69cf
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 23 00:59:05 2006 +0000

description:
Fix errno usage in Python (!) code.

diffstat:

 net/py-libdnet/distinfo         |   3 ++-
 net/py-libdnet/patches/patch-ab |  12 ++++++++++++
 net/py-libdnet/patches/patch-ac |  12 ++++++++++++
 3 files changed, 26 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 442b8a5912c4 -r f76d30fc69cf net/py-libdnet/distinfo
--- a/net/py-libdnet/distinfo   Thu Mar 23 00:53:48 2006 +0000
+++ b/net/py-libdnet/distinfo   Thu Mar 23 00:59:05 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/08/10 13:52:52 drochner Exp $
+$NetBSD: distinfo,v 1.2 2006/03/23 00:59:05 joerg Exp $
 
 SHA1 (libdnet-1.10.tar.gz) = 1dd9594adb5a3af121960abd6960bcedfc815f37
 RMD160 (libdnet-1.10.tar.gz) = 167cf841b3fdd061ec8d6a56d53c341678ee5a9e
 Size (libdnet-1.10.tar.gz) = 419752 bytes
 SHA1 (patch-aa) = 34258a63fc9f3866920b7529e8d8b4ea94d36445
+SHA1 (patch-ab) = 119592eda96557f71230514ab788933e8d60e3d6
diff -r 442b8a5912c4 -r f76d30fc69cf net/py-libdnet/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/patches/patch-ab   Thu Mar 23 00:59:05 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2006/03/23 00:59:05 joerg Exp $
+
+--- python/dnet.pyx.orig       2006-03-23 00:52:42.000000000 +0000
++++ python/dnet.pyx
+@@ -46,7 +46,6 @@ cdef __memcpy(char *dst, object src, int
+     memcpy(dst, src, n)
+ 
+ cdef __oserror():
+-    cdef extern int errno
+     return strerror(errno)
+ 
+ def __iter_append(entry, l):
diff -r 442b8a5912c4 -r f76d30fc69cf net/py-libdnet/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-libdnet/patches/patch-ac   Thu Mar 23 00:59:05 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2006/03/23 00:59:05 joerg Exp $
+
+--- python/dnet.c.orig 2006-03-23 00:56:28.000000000 +0000
++++ python/dnet.c
+@@ -270,7 +270,6 @@ static PyObject *__pyx_f_4dnet___memcpy(
+ 
+ 
+ static PyObject *__pyx_f_4dnet___oserror(void) {
+-  extern int errno;
+   PyObject *__pyx_r;
+   PyObject *__pyx_1 = 0;
+ 



Home | Main Index | Thread Index | Old Index