commit:     228b062df44bcc02818187a0e2730b9053ebf659
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  7 12:20:42 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jul  8 06:49:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228b062d

net-libs/wvstreams: Fix xplc/moduleloader major_version signedness

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Closes: https://bugs.gentoo.org/721892
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 .../files/wvstreams-4.6.1_p14-xplc-module.patch    | 25 ++++++++++++++++++++++
 net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild   |  1 +
 2 files changed, 26 insertions(+)

diff --git a/net-libs/wvstreams/files/wvstreams-4.6.1_p14-xplc-module.patch 
b/net-libs/wvstreams/files/wvstreams-4.6.1_p14-xplc-module.patch
new file mode 100644
index 00000000000..a7d931c3d81
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-4.6.1_p14-xplc-module.patch
@@ -0,0 +1,25 @@
+--- a/include/xplc/module.h
++++ b/include/xplc/module.h
+@@ -100,19 +100,19 @@
+    * XPLC module magic number. This is to ensure that it is in fact a
+    * valid XPLC module that has been loaded.
+    */
+-  unsigned long magic;
++  signed long magic;
+   /**
+    * The XPLC module ABI version that this module conforms to. This
+    * should always be the first member of the XPLC_ModuleInfo
+    * structure, as the meaning of the following members depend on it.
+    */
+-  unsigned int version_major;
++  signed int version_major;
+   /**
+    * The XPLC module ABI sub-version that this module conforms
+    * to. This is used for optional and backward-compatible changes in
+    * the module ABI.
+    */
+-  unsigned int version_minor;
++  signed int version_minor;
+ 
+   /**
+    * Description string for the module.

diff --git a/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild 
b/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild
index 69bea4fae03..1042923f522 100644
--- a/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild
+++ b/net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild
@@ -43,6 +43,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-4.6.1-gcc47.patch
        "${FILESDIR}"/${PN}-4.6.1-parallel-make.patch
        "${FILESDIR}"/${PN}-4.6.1-_DEFAULT_SOURCE.patch
+       "${FILESDIR}"/${PN}-4.6.1_p14-xplc-module.patch
 )
 S=${WORKDIR}/${P/_p*}
 

Reply via email to