]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-gcc4.patch
- 4.4.1?
[packages/rpm.git] / rpm-gcc4.patch
1 --- rpm/python/rpmmodule.c.orig 2004-11-18 15:04:50.000000000 +0100
2 +++ rpm/python/rpmmodule.c      2004-12-10 18:03:34.363140760 +0100
3 @@ -289,7 +289,7 @@
4  
5      while (extensions->name) {
6         if (extensions->type == HEADER_EXT_TAG) {
7 -            (const struct headerSprintfExtension *) ext = extensions;
8 +            ext = (struct headerSprintfExtension_s*)(extensions);
9              PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL));
10             Py_DECREF(o);
11              PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7));
12 --- rpm/python/header-py.c.orig 2004-11-18 15:04:49.000000000 +0100
13 +++ rpm/python/header-py.c      2004-12-10 18:04:45.933260448 +0100
14 @@ -477,7 +477,7 @@
15         while (extensions->name) {
16             if (extensions->type == HEADER_EXT_TAG
17                 && !xstrcasecmp(extensions->name + 7, str)) {
18 -               (const struct headerSprintfExtension *) ext = extensions;
19 +               ext = (struct headerSprintfExtension*)extensions;
20             }
21             extensions++;
22         }
23 --- rpm/python/rpmts-py.c.orig  2004-11-18 15:04:50.000000000 +0100
24 +++ rpm/python/rpmts-py.c       2004-12-10 18:09:43.472027680 +0100
25 @@ -24,7 +24,7 @@
26  
27  /*@unchecked@*/
28  /*@-shadow@*/
29 -static int _rpmts_debug = 0;
30 +int _rpmts_debug = 0;
31  /*@=shadow@*/
32  
33  /*@access alKey @*/
This page took 0.021975 seconds and 3 git commands to generate.