diff options
author | drochner <drochner@pkgsrc.org> | 2007-02-23 20:35:12 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-02-23 20:35:12 +0000 |
commit | 8fdfea0995f1b040b220d57046dbf7dad9b08d78 (patch) | |
tree | 4da63b934a46f92d2d8206efc661aa8efa6987fe /net/py-libdnet/patches/patch-ac | |
parent | abae2a81167a776f4a742813573a321f90387c95 (diff) | |
download | pkgsrc-8fdfea0995f1b040b220d57046dbf7dad9b08d78.tar.gz |
sync with base libdnet and patch some lhs casts to make it build with
newer gcc
Diffstat (limited to 'net/py-libdnet/patches/patch-ac')
-rw-r--r-- | net/py-libdnet/patches/patch-ac | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/net/py-libdnet/patches/patch-ac b/net/py-libdnet/patches/patch-ac index 05459b7b80f..9ee548fd3a2 100644 --- a/net/py-libdnet/patches/patch-ac +++ b/net/py-libdnet/patches/patch-ac @@ -1,12 +1,30 @@ -$NetBSD: patch-ac,v 1.1 2006/03/23 00:59:05 joerg Exp $ +$NetBSD: patch-ac,v 1.2 2007/02/23 20:35:13 drochner Exp $ ---- python/dnet.c.orig 2006-03-23 00:56:28.000000000 +0000 +--- python/dnet.c.orig 2006-01-19 08:08:23.000000000 +0100 +++ python/dnet.c -@@ -270,7 +270,6 @@ static PyObject *__pyx_f_4dnet___memcpy( - +@@ -438,7 +438,6 @@ static PyObject *__pyx_f_4dnet___memcpy( + } static PyObject *__pyx_f_4dnet___oserror(void) { - extern int errno; PyObject *__pyx_r; PyObject *__pyx_1 = 0; +@@ -2726,7 +2725,7 @@ static PyObject *__pyx_f_4dnet_15__addr_ + PyObject *__pyx_3 = 0; + unsigned short __pyx_4; + Py_INCREF(__pyx_v_self); +- ((PyObject*)__pyx_v_next) = Py_None; Py_INCREF(((PyObject*)__pyx_v_next)); ++ __pyx_v_next = (void *)Py_None; Py_INCREF(((PyObject*)__pyx_v_next)); + + /* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":634 */ + __pyx_1 = (((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->cur <= ((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->max); +@@ -2738,7 +2737,7 @@ static PyObject *__pyx_f_4dnet_15__addr_ + Py_DECREF(__pyx_2); __pyx_2 = 0; + if (!__Pyx_TypeTest(__pyx_3, __pyx_ptype_4dnet_addr)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; goto __pyx_L1;} + Py_DECREF(((PyObject *)__pyx_v_next)); +- ((PyObject *)__pyx_v_next) = __pyx_3; ++ __pyx_v_next = (void *)__pyx_3; + __pyx_3 = 0; + + /* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":636 */ |