OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.7 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../libdnet/gcc4.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. diff -Nur libdnet-1.10.orig/python/dnet.c libdnet-1.10/python/dnet.c
  17. --- libdnet-1.10.orig/python/dnet.c 2005-02-26 01:06:02.000000000 +0200
  18. +++ libdnet-1.10/python/dnet.c 2005-11-01 14:12:38.000000000 +0200
  19. @@ -2552,7 +2552,7 @@
  20. PyObject *__pyx_3 = 0;
  21. unsigned short __pyx_4;
  22. Py_INCREF(__pyx_v_self);
  23. - ((PyObject*)__pyx_v_next) = Py_None; Py_INCREF(((PyObject*)__pyx_v_next));
  24. + __pyx_v_next = Py_None; Py_INCREF(((PyObject*)__pyx_v_next));
  25. /* "/misc/projects/libdnet/python/./dnet.pyx":628 */
  26. __pyx_1 = (((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->cur <= ((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->max);
  27. @@ -2564,7 +2564,7 @@
  28. Py_DECREF(__pyx_2); __pyx_2 = 0;
  29. if (!__Pyx_TypeTest(__pyx_3, __pyx_ptype_4dnet_addr)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 629; goto __pyx_L1;}
  30. Py_DECREF(((PyObject *)__pyx_v_next));
  31. - ((PyObject *)__pyx_v_next) = __pyx_3;
  32. + __pyx_v_next = __pyx_3;
  33. __pyx_3 = 0;
  34. /* "/misc/projects/libdnet/python/./dnet.pyx":630 */