diff options
author | joerg <joerg> | 2006-03-23 00:59:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-23 00:59:05 +0000 |
commit | 192ffc78449236839f24857f2e12318285635579 (patch) | |
tree | f4f73d6d352b66691906738844215dd8be0769ff /net | |
parent | e3251f26d2a843fff576e5d531512e7a582ab247 (diff) | |
download | pkgsrc-192ffc78449236839f24857f2e12318285635579.tar.gz |
Fix errno usage in Python (!) code.
Diffstat (limited to 'net')
-rw-r--r-- | net/py-libdnet/distinfo | 3 | ||||
-rw-r--r-- | net/py-libdnet/patches/patch-ab | 12 | ||||
-rw-r--r-- | net/py-libdnet/patches/patch-ac | 12 |
3 files changed, 26 insertions, 1 deletions
diff --git a/net/py-libdnet/distinfo b/net/py-libdnet/distinfo index 76b081a8ef7..dd1bcae5a39 100644 --- a/net/py-libdnet/distinfo +++ b/net/py-libdnet/distinfo @@ -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 --git a/net/py-libdnet/patches/patch-ab b/net/py-libdnet/patches/patch-ab new file mode 100644 index 00000000000..d4ffa9817e5 --- /dev/null +++ b/net/py-libdnet/patches/patch-ab @@ -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 --git a/net/py-libdnet/patches/patch-ac b/net/py-libdnet/patches/patch-ac new file mode 100644 index 00000000000..05459b7b80f --- /dev/null +++ b/net/py-libdnet/patches/patch-ac @@ -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; + |