packages/libs/libdnet/patches/010-gcc4.patch
florian 6b946d0933 [package] update libdnet to 1.11 (#5390)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21 11:19:59 +00:00

21 lines
966 B
Diff

--- a/python/dnet.c
+++ b/python/dnet.c
@@ -2726,7 +2726,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 = 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 +2738,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 = __pyx_3;
__pyx_3 = 0;
/* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":636 */