summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-07 14:20:42 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-08 08:49:44 +0200
commit228b062df44bcc02818187a0e2730b9053ebf659 (patch)
tree3bd1f717f5d161920d872d0f123b4dfa47f39be3
parentdev-python/blosc: keyworded 1.9.1-r1 for ppc (diff)
downloadgentoo-228b062df44bcc02818187a0e2730b9053ebf659.tar.gz
gentoo-228b062df44bcc02818187a0e2730b9053ebf659.tar.bz2
gentoo-228b062df44bcc02818187a0e2730b9053ebf659.zip
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>
-rw-r--r--net-libs/wvstreams/files/wvstreams-4.6.1_p14-xplc-module.patch25
-rw-r--r--net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild1
2 files changed, 26 insertions, 0 deletions
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 000000000000..a7d931c3d814
--- /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 69bea4fae032..1042923f5228 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*}