From 0c7b4a5e23836889196f85f472f081d51529e94e Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 2 Jul 2014 19:57:44 -0500 Subject: rpm: Upgrade to 5.4.14 Update various patches. A few corrections to the patch descriptions, otherwise simple quilt refresh or conflict resolution. Remove rpm-solvedb.patch and rpm-respect-arch.patch. These are both related to the old solvedb package dependency solver. This is no longer used since we moved to smartpm. rpm-stub-out-git_strerror was a backport and is no longer needed. RPM 5.4.12 and newer normally requires Berkley DB 6.0 or newer. A small patch to configure allows RPM to dynamically select DB 5.3 or DB 6.0 based on what is available at configure time. Signed-off-by: Mark Hatle Signed-off-by: Richard Purdie --- meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch') diff --git a/meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch b/meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch index 3aac1164d6..41ab498a0f 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch @@ -18,11 +18,11 @@ Upstream-Status: Pending Signed-off-by: Mark Hatle -Index: rpm-5.4.0/lib/rpmrc.c +Index: rpm-5.4.14/lib/rpmrc.c =================================================================== ---- rpm-5.4.0.orig/lib/rpmrc.c 2011-08-10 17:04:35.798814821 -0500 -+++ rpm-5.4.0/lib/rpmrc.c 2011-08-10 17:33:51.505871895 -0500 -@@ -916,8 +916,8 @@ +--- rpm-5.4.14.orig/lib/rpmrc.c ++++ rpm-5.4.14/lib/rpmrc.c +@@ -925,8 +925,8 @@ static void getMachineInfo(int type, /*@ static void rpmRebuildTargetVars(const char ** target, const char ** canontarget) { @@ -33,7 +33,7 @@ Index: rpm-5.4.0/lib/rpmrc.c int x; /* Rebuild the compat table to recalculate the current target arch. */ -@@ -927,23 +927,60 @@ +@@ -936,23 +936,60 @@ static void rpmRebuildTargetVars(const c rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS); if (target && *target) { @@ -104,7 +104,7 @@ Index: rpm-5.4.0/lib/rpmrc.c } } else { const char *a = NULL; -@@ -988,8 +1025,16 @@ +@@ -995,8 +1032,16 @@ static void rpmRebuildTargetVars(const c addMacro(NULL, "_target", NULL, ct, RMIL_RPMRC); delMacro(NULL, "_target_cpu"); addMacro(NULL, "_target_cpu", NULL, ca, RMIL_RPMRC); @@ -121,7 +121,7 @@ Index: rpm-5.4.0/lib/rpmrc.c if (canontarget) *canontarget = ct; -@@ -997,8 +1041,12 @@ +@@ -1004,8 +1049,12 @@ static void rpmRebuildTargetVars(const c ct = _free(ct); ca = _free(ca); /*@-usereleased@*/ -- cgit 1.2.3-korg