[packages/rpm/rpm.org] - add rpmdsUname* functions to the header
baggins
baggins at pld-linux.org
Thu Oct 22 09:11:01 CEST 2020
commit e10224c59308dfdd0df7c9d3470979041b97f580
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Oct 22 08:49:27 2020 +0200
- add rpmdsUname* functions to the header
uname-deps.patch | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
---
diff --git a/uname-deps.patch b/uname-deps.patch
index dfe76a7..dd1a8dc 100644
--- a/uname-deps.patch
+++ b/uname-deps.patch
@@ -84,6 +84,39 @@ index f7ee76392..754969e39 100644
+{
+ return rpmdsUnamePool(NULL, dsp);
+}
+diff --git a/lib/rpmds.h b/lib/rpmds.h
+index 90d54aa27..558252c04 100644
+--- a/lib/rpmds.h
++++ b/lib/rpmds.h
+@@ -412,6 +412,13 @@ int rpmdsNVRMatchesDep(const Header h, const rpmds req, int nopromote);
+ */
+ int rpmdsRpmlib(rpmds * dsp, const void * tblp);
+
++/**
++ * Load uname provides into a dependency set.
++ * @retval *dsp (loaded) dependency set
++ * @return 0 on success
++ */
++int rpmdsUname(rpmds * dsp);
++
+ /** \ingroup rpmds
+ * Create and load a dependency set.
+ * @param pool shared string pool (or NULL for private pool)
+@@ -468,6 +475,14 @@ rpmds rpmdsSinglePoolTix(rpmstrPool pool, rpmTagVal tagN,
+ */
+ int rpmdsRpmlibPool(rpmstrPool pool, rpmds * dsp, const void * tblp);
+
++/**
++ * Load uname provides into a dependency set.
++ * @param pool shared string pool (or NULL for private pool)
++ * @retval *dsp (loaded) dependency set
++ * @return 0 on success
++ */
++int rpmdsUnamePool(rpmstrPool pool, rpmds * dsp);
++
+
+ typedef enum rpmrichOp_e {
+ RPMRICHOP_SINGLE = 1,
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index e69ef2584..ecdb12f0c 100644
--- a/lib/rpmts_internal.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/9354bf65a1677f5d04143d96578ca8a08021907f
More information about the pld-cvs-commit
mailing list