[packages/bnlib] - fix var to match function definition, rel 3
baggins
baggins at pld-linux.org
Mon Feb 3 22:50:50 CET 2025
commit f92d457722555f51c182c88a66f3dd83b86f6384
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Feb 3 23:49:10 2025 +0100
- fix var to match function definition, rel 3
bnlib.spec | 4 +++-
size_t.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/bnlib.spec b/bnlib.spec
index a99214d..0966f06 100644
--- a/bnlib.spec
+++ b/bnlib.spec
@@ -2,13 +2,14 @@ Summary: BigNum multi-precision integer math library
Summary(pl.UTF-8): BigNum - biblioteka arytmetyki całkowitej wielokrotnej precyzji
Name: bnlib
Version: 1.1.4
-Release: 2
+Release: 3
License: GPL v2 or commercial
Group: Libraries
Source0: http://philzimmermann.com/bnlib/bnlib114.zip
# Source0-md5: 1b4ff1e1f41c812db03a7c44b27d44ee
Patch0: %{name}-ac.patch
Patch1: %{name}-shared.patch
+Patch2: size_t.patch
URL: http://philzimmermann.com/EN/bnlib/bnlib.html
BuildRequires: autoconf
BuildRequires: automake
@@ -64,6 +65,7 @@ Statyczna biblioteka BigNum.
%{__rm} -r bnlib114
%patch -P 0 -p1
%patch -P 1 -p1
+%patch -P 2 -p1
# extract licensing information
head -n29 legal.c > LEGAL
diff --git a/size_t.patch b/size_t.patch
new file mode 100644
index 0000000..f13b218
--- /dev/null
+++ b/size_t.patch
@@ -0,0 +1,11 @@
+--- bnlib-1.1.4/germtest.c~ 2005-04-03 16:49:29.000000000 +0200
++++ bnlib-1.1.4/germtest.c 2025-02-03 23:47:13.053330530 +0100
+@@ -285,7 +285,7 @@
+ int
+ main(int argc, char **argv)
+ {
+- unsigned len;
++ size_t len;
+ struct BigNum bn;
+ unsigned char *buf;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bnlib.git/commitdiff/f92d457722555f51c182c88a66f3dd83b86f6384
More information about the pld-cvs-commit
mailing list