diff options
author | 2022-12-02 11:00:27 +0100 | |
---|---|---|
committer | 2022-12-02 11:02:13 +0100 | |
commit | 5d93a77c89ebcf55f3673236941668b8f990b337 (patch) | |
tree | 3e8ba960633d2dde1b7be88dce3db7bdce4609fc /dev-python/python-axolotl-curve25519 | |
parent | app-backup/borgmatic: add 1.7.5 (diff) | |
download | gentoo-5d93a77c89ebcf55f3673236941668b8f990b337.tar.gz gentoo-5d93a77c89ebcf55f3673236941668b8f990b337.tar.bz2 gentoo-5d93a77c89ebcf55f3673236941668b8f990b337.zip |
dev-python/python-axolotl-curve25519: Fix compilation with clang.
This fixes an invalid type in the python module struct. Also
sent upstream.
Closes: https://bugs.gentoo.org/871369
Signed-off-by: Hanno Böck <hanno@gentoo.org>
Diffstat (limited to 'dev-python/python-axolotl-curve25519')
-rw-r--r-- | dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-fix-type.patch | 15 | ||||
-rw-r--r-- | dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r3.ebuild | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-fix-type.patch b/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-fix-type.patch new file mode 100644 index 000000000000..dc30fff8d911 --- /dev/null +++ b/dev-python/python-axolotl-curve25519/files/python-axolotl-curve25519-fix-type.patch @@ -0,0 +1,15 @@ +See https://github.com/tgalal/python-axolotl-curve25519/pull/26 + +diff --git a/curve25519module.c b/curve25519module.c +index f4bd3d7..cf8bb45 100644 +--- a/curve25519module.c ++++ b/curve25519module.c +@@ -158,7 +158,7 @@ curve25519_functions[] = { + PyModuleDef_HEAD_INIT, + "axolotl_curve25519", + NULL, +- NULL, ++ 0, + curve25519_functions, + }; + diff --git a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r3.ebuild b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r3.ebuild index 4ee2dee9744b..e8a857838ab6 100644 --- a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r3.ebuild +++ b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r3.ebuild @@ -18,3 +18,5 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="BSD GPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 ~riscv x86" + +PATCHES=( "${FILESDIR}/python-axolotl-curve25519-fix-type.patch" ) |