mirror of the now-defunct rocklinux.org
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.3 KiB

  1. diff -dur rpm-4.1/python/header-py.c rpm-4.1-p/python/header-py.c
  2. --- rpm-4.1/python/header-py.c 2005-12-23 13:44:03.000000000 +0100
  3. +++ rpm-4.1-p/python/header-py.c 2005-12-23 13:41:29.000000000 +0100
  4. @@ -429,7 +429,7 @@
  5. while (extensions->name) {
  6. if (extensions->type == HEADER_EXT_TAG
  7. && !xstrcasecmp(extensions->name + 7, str)) {
  8. - (const struct headerSprintfExtension *) ext = extensions;
  9. + ext = extensions;
  10. }
  11. extensions++;
  12. }
  13. diff -dur rpm-4.1/python/rpmmodule.c rpm-4.1-p/python/rpmmodule.c
  14. --- rpm-4.1/python/rpmmodule.c 2005-12-23 13:44:03.000000000 +0100
  15. +++ rpm-4.1-p/python/rpmmodule.c 2005-12-23 13:42:19.000000000 +0100
  16. @@ -422,7 +422,7 @@
  17. while (extensions->name) {
  18. if (extensions->type == HEADER_EXT_TAG) {
  19. - (const struct headerSprintfExtension *) ext = extensions;
  20. + ext = extensions;
  21. PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL));
  22. Py_DECREF(o);
  23. PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7));
  24. diff -dur rpm-4.1/python/rpmts-py.c rpm-4.1-p/python/rpmts-py.c
  25. --- rpm-4.1/python/rpmts-py.c 2005-12-23 13:44:03.000000000 +0100
  26. +++ rpm-4.1-p/python/rpmts-py.c 2005-12-23 12:52:21.000000000 +0100
  27. @@ -25,7 +25,7 @@
  28. #include "debug.h"
  29. -static int _rpmts_debug = 0;
  30. +int _rpmts_debug = 0;
  31. /*@access alKey @*/