* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-axolotl-curve25519/files/, ...
@ 2022-12-02 10:02 Hanno Böck
0 siblings, 0 replies; only message in thread
From: Hanno Böck @ 2022-12-02 10:02 UTC (permalink / raw
To: gentoo-commits
commit: 5d93a77c89ebcf55f3673236941668b8f990b337
Author: Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 10:00:27 2022 +0000
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Fri Dec 2 10:02:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d93a77c
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 <AT> gentoo.org>
.../files/python-axolotl-curve25519-fix-type.patch | 15 +++++++++++++++
.../python-axolotl-curve25519-0.4.1_p2-r3.ebuild | 2 ++
2 files changed, 17 insertions(+)
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" )
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-02 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-02 10:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-axolotl-curve25519/files/, Hanno Böck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox