diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2014-07-02 19:57:44 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-08 11:20:12 +0100 |
commit | fe483ca37c33ebfe4c3e391244c47969e1560aeb (patch) | |
tree | 4b703d42ad5b4c22f9075463c013e562ab649345 /meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch | |
parent | 107ef516a6b5dc8f6e4606d30e8fa204d75f0b21 (diff) | |
download | poky-fe483ca37c33ebfe4c3e391244c47969e1560aeb.tar.gz |
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.
(From OE-Core rev: 0c7b4a5e23836889196f85f472f081d51529e94e)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch | 14 |
1 files changed, 7 insertions, 7 deletions
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 | |||
18 | 18 | ||
19 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | 19 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
20 | 20 | ||
21 | Index: rpm-5.4.0/lib/rpmrc.c | 21 | Index: rpm-5.4.14/lib/rpmrc.c |
22 | =================================================================== | 22 | =================================================================== |
23 | --- rpm-5.4.0.orig/lib/rpmrc.c 2011-08-10 17:04:35.798814821 -0500 | 23 | --- rpm-5.4.14.orig/lib/rpmrc.c |
24 | +++ rpm-5.4.0/lib/rpmrc.c 2011-08-10 17:33:51.505871895 -0500 | 24 | +++ rpm-5.4.14/lib/rpmrc.c |
25 | @@ -916,8 +916,8 @@ | 25 | @@ -925,8 +925,8 @@ static void getMachineInfo(int type, /*@ |
26 | 26 | ||
27 | static void rpmRebuildTargetVars(const char ** target, const char ** canontarget) | 27 | static void rpmRebuildTargetVars(const char ** target, const char ** canontarget) |
28 | { | 28 | { |
@@ -33,7 +33,7 @@ Index: rpm-5.4.0/lib/rpmrc.c | |||
33 | int x; | 33 | int x; |
34 | 34 | ||
35 | /* Rebuild the compat table to recalculate the current target arch. */ | 35 | /* Rebuild the compat table to recalculate the current target arch. */ |
36 | @@ -927,23 +927,60 @@ | 36 | @@ -936,23 +936,60 @@ static void rpmRebuildTargetVars(const c |
37 | rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS); | 37 | rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS); |
38 | 38 | ||
39 | if (target && *target) { | 39 | if (target && *target) { |
@@ -104,7 +104,7 @@ Index: rpm-5.4.0/lib/rpmrc.c | |||
104 | } | 104 | } |
105 | } else { | 105 | } else { |
106 | const char *a = NULL; | 106 | const char *a = NULL; |
107 | @@ -988,8 +1025,16 @@ | 107 | @@ -995,8 +1032,16 @@ static void rpmRebuildTargetVars(const c |
108 | addMacro(NULL, "_target", NULL, ct, RMIL_RPMRC); | 108 | addMacro(NULL, "_target", NULL, ct, RMIL_RPMRC); |
109 | delMacro(NULL, "_target_cpu"); | 109 | delMacro(NULL, "_target_cpu"); |
110 | addMacro(NULL, "_target_cpu", NULL, ca, RMIL_RPMRC); | 110 | addMacro(NULL, "_target_cpu", NULL, ca, RMIL_RPMRC); |
@@ -121,7 +121,7 @@ Index: rpm-5.4.0/lib/rpmrc.c | |||
121 | 121 | ||
122 | if (canontarget) | 122 | if (canontarget) |
123 | *canontarget = ct; | 123 | *canontarget = ct; |
124 | @@ -997,8 +1041,12 @@ | 124 | @@ -1004,8 +1049,12 @@ static void rpmRebuildTargetVars(const c |
125 | ct = _free(ct); | 125 | ct = _free(ct); |
126 | ca = _free(ca); | 126 | ca = _free(ca); |
127 | /*@-usereleased@*/ | 127 | /*@-usereleased@*/ |