Fix arg type in tilde patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=198
This commit is contained in:
Michael Schröder 2012-04-23 09:08:24 +00:00 committed by Git OBS Bridge
parent 638ba14e22
commit 0204532bd5
4 changed files with 2 additions and 5 deletions

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: python3-rpm Name: python3-rpm
Version: 4.9.1.2 Version: 4.9.1.2
Release: 0 Release: 0

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: rpm-python Name: rpm-python
Version: 4.9.1.2 Version: 4.9.1.2
Release: 0 Release: 0

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: rpm Name: rpm
BuildRequires: binutils BuildRequires: binutils
BuildRequires: bzip2 BuildRequires: bzip2

View File

@ -6,7 +6,7 @@
+/** +/**
+ */ + */
+static int depContainsTilde(Header *h, rpmTagVal tagEVR) +static int depContainsTilde(Header h, rpmTagVal tagEVR)
+{ +{
+ struct rpmtd_s evrs; + struct rpmtd_s evrs;
+ const char *evr = NULL; + const char *evr = NULL;
@ -32,7 +32,7 @@
+ 0 + 0
+}; +};
+ +
+static int haveTildeDep(Header *h) +static int haveTildeDep(Header h)
+{ +{
+ int i; + int i;
+ +