[packages/perl-Math-BigInteger] fix bn_extended_euclid() prototype and syntax

atler atler at pld-linux.org
Mon Aug 17 19:42:09 CEST 2026


commit 1791ea5f3c5fa092ba36e3d11c82d3deabdfadef
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Aug 17 19:41:03 2026 +0200

    fix bn_extended_euclid() prototype and syntax

 types.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/types.patch b/types.patch
index a1a6186..3d72222 100644
--- a/types.patch
+++ b/types.patch
@@ -9,3 +9,14 @@
  
  	if (bn_cmp(m,d) < 0)
  		{
+--- Math-BigInteger-1.01/bn.c.orig	2026-08-17 19:39:51.441466464 +0200
++++ Math-BigInteger-1.01/bn.c	2026-08-17 19:40:23.941495363 +0200
+@@ -58,7 +58,7 @@
+ static void bn_SUB(BIGNUM *r, BIGNUM *a, BIGNUM *b);
+ /*static void bn_fix_top(BIGNUM *a);*/
+ static BIGNUM *euclid(BIGNUM *a, BIGNUM *b);
+-static int bn_extended_euclid(BIGNUM * rd, BIGNUM * rx, BIGNUM * ry, BIGNUM * a, BIGNUM * b)
++static int bn_extended_euclid(BIGNUM **rd, BIGNUM **rx, BIGNUM **ry, BIGNUM *a, BIGNUM *b);
+ #else
+ static void bn_SUB();
+ /*static void bn_fix_top();*/
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-BigInteger.git/commitdiff/1791ea5f3c5fa092ba36e3d11c82d3deabdfadef



More information about the pld-cvs-commit mailing list