[packages/perl-Convert-UUlib] Up to 1.8

arekm arekm at pld-linux.org
Fri Nov 27 21:45:10 CET 2026


commit 59093556722e8fe9a30469fd6cf48af66c986673
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 15:22:21 2026 +0100

    Up to 1.8

 perl-Convert-UUlib.spec |  9 ++++++---
 prototypes.patch        | 31 +++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 3 deletions(-)
---
diff --git a/perl-Convert-UUlib.spec b/perl-Convert-UUlib.spec
index a0b157e..07694da 100644
--- a/perl-Convert-UUlib.spec
+++ b/perl-Convert-UUlib.spec
@@ -3,19 +3,21 @@
 Summary:	Convert::UUlib - Perl interface to the uulib library
 Summary(pl.UTF-8):	Convert::UUlib - interfejs Perla dla biblioteki uulib
 Name:		perl-Convert-UUlib
-Version:	1.71
-Release:	8
+Version:	1.8
+Release:	1
 Epoch:		2
 # same as perl, but library is GPL
 License:	GPL
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Convert/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	da734f09c9a73aed957d6dd5034bd856
+# Source0-md5:	fd470299600064c283d9a52348cdb4ef
 Patch0:		includes.patch
 Patch1:		missing-arg.patch
+Patch2:		prototypes.patch
 URL:		http://search.cpan.org/dist/Convert-UUlib/
 BuildRequires:	autoconf
 BuildRequires:	perl-Canary-Stability >= 2012
+BuildRequires:	perl-common-sense >= 3.74
 BuildRequires:	perl-devel >= 1:5.8.4
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,6 +34,7 @@ kodującej/rozkodowującej uulib (nazywanej też uudeview/uuenview).
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 cd uulib
diff --git a/prototypes.patch b/prototypes.patch
new file mode 100644
index 0000000..0313221
--- /dev/null
+++ b/prototypes.patch
@@ -0,0 +1,31 @@
+# configure.in never defines PROTOTYPES, so the K&R fallback made every declaration "(void)" under C23
+diff -ru Convert-UUlib-1.8.orig/uulib/crc32.h Convert-UUlib-1.8/uulib/crc32.h
+--- Convert-UUlib-1.8.orig/uulib/crc32.h	2026-11-27 15:20:57.435127780 +0100
++++ Convert-UUlib-1.8/uulib/crc32.h	2026-11-27 15:20:57.524094714 +0100
+@@ -4,11 +4,7 @@
+ #include "config.h"
+ 
+ #ifndef _ANSI_ARGS_
+-#ifdef PROTOTYPES
+ #define _ANSI_ARGS_(c)	c
+-#else
+-#define _ANSI_ARGS_(c)	()
+-#endif
+ #endif
+ 
+ #include "ecb.h"
+diff -ru Convert-UUlib-1.8.orig/uulib/uudeview.h Convert-UUlib-1.8/uulib/uudeview.h
+--- Convert-UUlib-1.8.orig/uulib/uudeview.h	2026-11-27 15:20:57.435443699 +0100
++++ Convert-UUlib-1.8/uulib/uudeview.h	2026-11-27 15:20:57.523584047 +0100
+@@ -29,11 +29,7 @@
+ #include "config.h"
+ 
+ #ifndef _ANSI_ARGS_
+-#ifdef PROTOTYPES
+ #define _ANSI_ARGS_(c)	c
+-#else
+-#define _ANSI_ARGS_(c)	()
+-#endif
+ #endif
+ 
+ /*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Convert-UUlib.git/commitdiff/59093556722e8fe9a30469fd6cf48af66c986673



More information about the pld-cvs-commit mailing list