|
|
@@ -184,3 +184,20 @@ Index: rpmio/macro.c
|
|
|
se = grabArgs(mb, me, fe, grab);
|
|
|
} else {
|
|
|
addMacro(mb->mc, "**", NULL, "", mb->depth);
|
|
|
+
|
|
|
++---------------------------------------------------------------------------
|
|
|
+| Backported RPM vendor patch:
|
|
|
+| "fix: packages w/o file colors segfault"
|
|
|
+| (cvs diff -r2.41.2.6 -r2.41.2.7 lib/rpmfi.c)
|
|
|
++---------------------------------------------------------------------------
|
|
|
+Index: lib/rpmfi.c
|
|
|
+--- lib/rpmfi.c 17 Jul 2003 22:44:28 -0000 1.1.1.3
|
|
|
++++ lib/rpmfi.c 28 Aug 2003 13:05:42 -0000
|
|
|
+@@ -866,6 +866,7 @@
|
|
|
+ *fn = '\0';
|
|
|
+ fnlen = stpcpy( stpcpy(fn, dirNames[dirIndexes[i]]), baseNames[i]) - fn;
|
|
|
+
|
|
|
++if (fColors != NULL)
|
|
|
+ dColors[dirIndexes[i]] |= fColors[i];
|
|
|
+ /*
|
|
|
+ * See if this file path needs relocating.
|