]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- initial.
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 10 Dec 2004 17:18:14 +0000 (17:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-gcc4.patch -> 1.1

rpm-gcc4.patch [new file with mode: 0644]

diff --git a/rpm-gcc4.patch b/rpm-gcc4.patch
new file mode 100644 (file)
index 0000000..f216731
--- /dev/null
@@ -0,0 +1,33 @@
+--- rpm/python/rpmmodule.c.orig        2004-11-18 15:04:50.000000000 +0100
++++ rpm/python/rpmmodule.c     2004-12-10 18:03:34.363140760 +0100
+@@ -289,7 +289,7 @@
+     while (extensions->name) {
+       if (extensions->type == HEADER_EXT_TAG) {
+-            (const struct headerSprintfExtension *) ext = extensions;
++            ext = (struct headerSprintfExtension_s*)(extensions);
+             PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL));
+           Py_DECREF(o);
+             PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7));
+--- rpm/python/header-py.c.orig        2004-11-18 15:04:49.000000000 +0100
++++ rpm/python/header-py.c     2004-12-10 18:04:45.933260448 +0100
+@@ -477,7 +477,7 @@
+       while (extensions->name) {
+           if (extensions->type == HEADER_EXT_TAG
+               && !xstrcasecmp(extensions->name + 7, str)) {
+-              (const struct headerSprintfExtension *) ext = extensions;
++              ext = (struct headerSprintfExtension*)extensions;
+           }
+           extensions++;
+       }
+--- rpm/python/rpmts-py.c.orig 2004-11-18 15:04:50.000000000 +0100
++++ rpm/python/rpmts-py.c      2004-12-10 18:09:43.472027680 +0100
+@@ -24,7 +24,7 @@
+ /*@unchecked@*/
+ /*@-shadow@*/
+-static int _rpmts_debug = 0;
++int _rpmts_debug = 0;
+ /*@=shadow@*/
+ /*@access alKey @*/
This page took 0.043812 seconds and 4 git commands to generate.