summaryrefslogtreecommitdiff
path: root/package/rpm/rpm-5.2.0_no-parentdirs.patch
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2009-12-25 10:29:22 +0000
committerNigel Kukard <nkukard@lbsd.net>2009-12-25 10:29:22 +0000
commitf16a9799b65214ffe1b07372676386e31ad51801 (patch)
tree623250fb62f9e58c5f1f7306965c944e6870172e /package/rpm/rpm-5.2.0_no-parentdirs.patch
parent9400c73582326c543fae82120af3904836145655 (diff)
Bumped rpm
Diffstat (limited to 'package/rpm/rpm-5.2.0_no-parentdirs.patch')
-rw-r--r--package/rpm/rpm-5.2.0_no-parentdirs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/rpm/rpm-5.2.0_no-parentdirs.patch b/package/rpm/rpm-5.2.0_no-parentdirs.patch
new file mode 100644
index 000000000..d05c99ad6
--- /dev/null
+++ b/package/rpm/rpm-5.2.0_no-parentdirs.patch
@@ -0,0 +1,14 @@
+Reduce parentdirs we use, parentdirs are used for ordering
+Included upstream
+diff -u --new-file --recursive rpm-5.1.9_vanilla/lib/depends.c rpm-5.1.9_no-parentdirs/lib/depends.c
+--- rpm-5.1.9_vanilla/lib/depends.c 2009-04-12 19:46:17.000000000 +0000
++++ rpm-5.1.9_no-parentdirs/lib/depends.c 2009-06-13 15:21:43.504999639 +0000
+@@ -2257,7 +2257,7 @@
+ #define isAuto(_x) ((_x) & _autobits)
+
+ /*@unchecked@*/
+-static int slashDepth = 100; /* #slashes pemitted in parentdir deps. */
++static int slashDepth = 2; /* #slashes pemitted in parentdir deps. */
+
+ static int countSlashes(const char * dn)
+ /*@*/