File valgrind.Expect-earliest-version-for-versioned-xen-domctl-sys.patch of Package valgrind

From: Olaf Hering <olaf@aepfle.de>
Date: Sun, 25 Nov 2018 11:48:26 +0100
Subject: Expect earliest version for versioned xen domctl/sysctl

Versioned Xen domctl and sysctl interfaces need a suffix. Expect the
earliest interface_version because newly added interfaces will not be
renamed once another variant appears in a future Version of Xen. For
existing unversioned interfaces some software archeaology must be done.

bz#390553
---
 include/vki/vki-xen-domctl.h | 2 +-
 include/vki/vki-xen-sysctl.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/include/vki/vki-xen-domctl.h
+++ b/include/vki/vki-xen-domctl.h
@@ -44,7 +44,7 @@
  *
  * Structs which are identical in all supported versions have no
  * version suffix. Structs which do differ are defined multiple times
- * and use the suffix of the latest version to contain that particular
+ * and use the suffix of the earliest version to contain that particular
  * variant.
  */
 
--- a/include/vki/vki-xen-sysctl.h
+++ b/include/vki/vki-xen-sysctl.h
@@ -15,7 +15,7 @@
  *
  * Structs which are identical in all supported versions have no
  * version suffix. Structs which do differ are defined multiple times
- * and use the suffix of the latest version to contain that particular
+ * and use the suffix of the earliest version to contain that particular
  * variant.
  */
 
openSUSE Build Service is sponsored by