diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-nrescan.patch | 17 | ||||
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.1.10.bb | 3 |
2 files changed, 19 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-nrescan.patch b/meta/recipes-devtools/rpm/rpm/rpm-nrescan.patch new file mode 100644 index 0000000000..db4f8b3a7a --- /dev/null +++ b/meta/recipes-devtools/rpm/rpm/rpm-nrescan.patch @@ -0,0 +1,17 @@ +We need to increase the number of dependency rescans as we have a large +number of self-referencing dependencies within Poky. 100 seem reasonable. + +Signed-off-by: Mark Hatle <mark.hatle@windriver.com> + +diff -ur rpm-5.1.10.orig/lib/depends.c rpm-5.1.10/lib/depends.c +--- rpm-5.1.10.orig/lib/depends.c 2010-08-20 17:12:43.000000000 -0500 ++++ rpm-5.1.10/lib/depends.c 2010-09-02 13:37:21.966116309 -0500 +@@ -2310,7 +2310,7 @@ + int numOrderList; + int npeer = 128; /* XXX more than deep enough for now. */ + int * peer = memset(alloca(npeer*sizeof(*peer)), 0, (npeer*sizeof(*peer))); +- int nrescans = 10; ++ int nrescans = 100; + int _printed = 0; + char deptypechar; + size_t tsbytes; diff --git a/meta/recipes-devtools/rpm/rpm_5.1.10.bb b/meta/recipes-devtools/rpm/rpm_5.1.10.bb index d4b5a91668..fc2e837b9a 100644 --- a/meta/recipes-devtools/rpm/rpm_5.1.10.bb +++ b/meta/recipes-devtools/rpm/rpm_5.1.10.bb @@ -3,11 +3,12 @@ DESCRIPTION_rpm-build = "The RPM Package Manager rpmbuild and related commands." HOMEPAGE = "http://rpm5.org/" LICENSE = "LGPL 2.1" DEPENDS = "zlib perl popt beecrypt python libpcre elfutils" -PR = "r3" +PR = "r4" SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.1/SNAPSHOT/${BPN}-${PV}.tar.gz \ file://hdraddorappend.patch \ file://export-rpmbag-h.patch \ + file://rpm-nrescan.patch \ file://remove-compiled-tests.patch;apply=no \ file://perfile_rpmdeps.sh \ " |