]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-gcc4.patch
- fixed (finally?) GConf scripts, rel 0.6
[packages/rpm.git] / rpm-gcc4.patch
CommitLineData
37ade1ee
PS
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 }
This page took 0.032581 seconds and 4 git commands to generate.