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@gentoo.org>
This commit is contained in:
Jeroen Roovers
2020-07-07 14:20:42 +02:00
parent 8f071dd34f
commit 228b062df4
2 changed files with 26 additions and 0 deletions

View File

@@ -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.

View File

@@ -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*}