diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-debug-platform.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-debug-platform.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-debug-platform.patch b/meta/recipes-devtools/rpm/rpm/rpm-debug-platform.patch index 25ebbdcbed..2eb6e0f26b 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-debug-platform.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-debug-platform.patch | |||
@@ -1,9 +1,9 @@ | |||
1 | Debug the platform score generation... | 1 | Debug the platform score generation... |
2 | 2 | ||
3 | Index: rpm-5.4.9/lib/rpmrc.c | 3 | Index: rpm-5.4.14/lib/rpmrc.c |
4 | =================================================================== | 4 | =================================================================== |
5 | --- rpm-5.4.9.orig/lib/rpmrc.c | 5 | --- rpm-5.4.14.orig/lib/rpmrc.c |
6 | +++ rpm-5.4.9/lib/rpmrc.c | 6 | +++ rpm-5.4.14/lib/rpmrc.c |
7 | @@ -465,6 +465,8 @@ static rpmRC rpmPlatform(const char * pl | 7 | @@ -465,6 +465,8 @@ static rpmRC rpmPlatform(const char * pl |
8 | 8 | ||
9 | rc = (rpmRC) rpmiobSlurp(platform, &iob); | 9 | rc = (rpmRC) rpmiobSlurp(platform, &iob); |
@@ -38,18 +38,18 @@ Index: rpm-5.4.9/lib/rpmrc.c | |||
38 | } | 38 | } |
39 | 39 | ||
40 | + fprintf(stderr, "D: rpmPlatform mireAppend STRCMP %s -- ", p); | 40 | + fprintf(stderr, "D: rpmPlatform mireAppend STRCMP %s -- ", p); |
41 | #if !defined(RPM_VENDOR_OE) /* Skip the explicit-platform */ | ||
41 | #if defined(RPM_VENDOR_OPENPKG) /* explicit-platform */ | 42 | #if defined(RPM_VENDOR_OPENPKG) /* explicit-platform */ |
42 | /* do not use vendor and GNU attribution */ | 43 | /* do not use vendor and GNU attribution */ |
43 | p = rpmExpand("%{_host_cpu}-%{_host_os}", NULL); | 44 | @@ -519,6 +528,7 @@ static rpmRC rpmPlatform(const char * pl |
44 | @@ -518,6 +527,7 @@ static rpmRC rpmPlatform(const char * pl | ||
45 | (cvog && *cvog->gnu ? "-" : NULL), | 45 | (cvog && *cvog->gnu ? "-" : NULL), |
46 | (cvog ? cvog->gnu : NULL), NULL); | 46 | (cvog ? cvog->gnu : NULL), NULL); |
47 | #endif | 47 | #endif |
48 | + fprintf(stderr, "%s\n", p); | 48 | + fprintf(stderr, "%s\n", p); |
49 | xx = mireAppend(RPMMIRE_STRCMP, 0, p, NULL, &mi_re, &mi_nre); | 49 | xx = mireAppend(RPMMIRE_STRCMP, 0, p, NULL, &mi_re, &mi_nre); |
50 | p = _free(p); | 50 | p = _free(p); |
51 | 51 | #endif | |
52 | @@ -686,9 +696,12 @@ int rpmPlatformScore(const char * platfo | 52 | @@ -688,9 +698,12 @@ int rpmPlatformScore(const char * platfo |
53 | 53 | ||
54 | if ((mire = (miRE) mi_re) != NULL) | 54 | if ((mire = (miRE) mi_re) != NULL) |
55 | for (i = 0; i < mi_nre; i++) { | 55 | for (i = 0; i < mi_nre; i++) { |