summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch')
-rw-r--r--meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch17
1 files changed, 9 insertions, 8 deletions
diff --git a/meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch b/meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch
index faaf62960c..d84e8b54d8 100644
--- a/meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch
+++ b/meta/recipes-devtools/rpm/files/0013-Add-a-new-option-alldeps-to-rpmdeps.patch
@@ -1,7 +1,7 @@
1From 3bf20a6116ae3e1a5a3a6907bee7e881b17efb2f Mon Sep 17 00:00:00 2001 1From ef9f8c17c3e5c35d3b55db9ca76b0fa0d6336421 Mon Sep 17 00:00:00 2001
2From: Peter Kjellerstedt <pkj@axis.com> 2From: Peter Kjellerstedt <pkj@axis.com>
3Date: Mon, 15 May 2017 11:23:26 +0200 3Date: Mon, 15 May 2017 11:23:26 +0200
4Subject: [PATCH 13/13] Add a new option --alldeps to rpmdeps 4Subject: [PATCH 10/15] Add a new option --alldeps to rpmdeps
5 5
6This will send the output from rpmfcPrint() to stdout. This is an 6This will send the output from rpmfcPrint() to stdout. This is an
7alternative to using the --rpmfcdebug option, which will send the same 7alternative to using the --rpmfcdebug option, which will send the same
@@ -12,6 +12,7 @@ output options, e.g., --requires, without affecting their output.
12 12
13Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/pull/220] 13Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/pull/220]
14Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> 14Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
15
15--- 16---
16 build/rpmfc.c | 27 ++++++++++++++------------- 17 build/rpmfc.c | 27 ++++++++++++++-------------
17 build/rpmfc.h | 1 - 18 build/rpmfc.h | 1 -
@@ -19,10 +20,10 @@ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
19 3 files changed, 39 insertions(+), 33 deletions(-) 20 3 files changed, 39 insertions(+), 33 deletions(-)
20 21
21diff --git a/build/rpmfc.c b/build/rpmfc.c 22diff --git a/build/rpmfc.c b/build/rpmfc.c
22index c8e2f876a..44f1cdc9a 100644 23index b8aea76d0..d04ffb297 100644
23--- a/build/rpmfc.c 24--- a/build/rpmfc.c
24+++ b/build/rpmfc.c 25+++ b/build/rpmfc.c
25@@ -732,7 +732,6 @@ static rpm_color_t rpmfcColor(const char * fmstr) 26@@ -692,7 +692,6 @@ static rpm_color_t rpmfcColor(const char * fmstr)
26 27
27 void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp) 28 void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp)
28 { 29 {
@@ -30,7 +31,7 @@ index c8e2f876a..44f1cdc9a 100644
30 int ndx; 31 int ndx;
31 int dx; 32 int dx;
32 int fx; 33 int fx;
33@@ -744,21 +743,23 @@ void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp) 34@@ -704,21 +703,23 @@ void rpmfcPrint(const char * msg, rpmfc fc, FILE * fp)
34 35
35 if (fc) 36 if (fc)
36 for (fx = 0; fx < fc->nfiles; fx++) { 37 for (fx = 0; fx < fc->nfiles; fx++) {
@@ -79,7 +80,7 @@ index dae8ea5b1..3d87b31cf 100644
79 * @param fc file classifier 80 * @param fc file classifier
80 * @param fp output file handle (NULL for stderr) 81 * @param fp output file handle (NULL for stderr)
81diff --git a/tools/rpmdeps.c b/tools/rpmdeps.c 82diff --git a/tools/rpmdeps.c b/tools/rpmdeps.c
82index a414b6343..f260a38c4 100644 83index 419befce1..f260a38c4 100644
83--- a/tools/rpmdeps.c 84--- a/tools/rpmdeps.c
84+++ b/tools/rpmdeps.c 85+++ b/tools/rpmdeps.c
85@@ -23,6 +23,8 @@ static int print_conflicts; 86@@ -23,6 +23,8 @@ static int print_conflicts;
@@ -105,7 +106,7 @@ index a414b6343..f260a38c4 100644
105 goto exit; 106 goto exit;
106 107
107- if (_rpmfc_debug) 108- if (_rpmfc_debug)
108- rpmfcPrint(buf, fc, NULL); 109- rpmfcPrint(NULL, fc, NULL);
109- 110-
110- if (print_provides) 111- if (print_provides)
111- rpmdsPrint(NULL, rpmfcProvides(fc), stdout); 112- rpmdsPrint(NULL, rpmfcProvides(fc), stdout);
@@ -148,5 +149,5 @@ index a414b6343..f260a38c4 100644
148 ec = 0; 149 ec = 0;
149 150
150-- 151--
1512.12.0 1522.14.2
152 153