[packages/perl-AcePerl] add type fix
atler
atler at pld-linux.org
Sat Aug 15 14:46:49 CEST 2026
commit bdbc533d186df39e19963f5d0461defbafd9f5a5
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Aug 15 14:45:33 2026 +0200
add type fix
perl-AcePerl.spec | 2 ++
types.patch | 15 +++++++++++++++
2 files changed, 17 insertions(+)
---
diff --git a/perl-AcePerl.spec b/perl-AcePerl.spec
index e6973a6..68c11aa 100644
--- a/perl-AcePerl.spec
+++ b/perl-AcePerl.spec
@@ -12,6 +12,7 @@ Source0: http://www.cpan.org/modules/by-module/Ace/AcePerl-%{version}.tar.gz
Patch0: %{name}-defaults.patch
Patch1: %{name}-path.patch
Patch2: build.patch
+Patch3: types.patch
URL: http://search.cpan.org/dist/AcePerl/
BuildRequires: cpp
BuildRequires: libtirpc-devel
@@ -63,6 +64,7 @@ ogólna.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
%build
# Makefile.PL does not read from non-terminal stdin
diff --git a/types.patch b/types.patch
new file mode 100644
index 0000000..c21b607
--- /dev/null
+++ b/types.patch
@@ -0,0 +1,15 @@
+--- AcePerl-1.92/acelib/wh/call.h.orig 2002-11-14 21:00:06.000000000 +0100
++++ AcePerl-1.92/acelib/wh/call.h 2026-08-15 14:26:19.006214941 +0200
+@@ -22,10 +22,11 @@
+ #ifndef DEF_CALL_H
+ #define DEF_CALL_H
+
++#include <stdarg.h>
+ #include "regular.h"
+
+ typedef int MESSAGERETURN ;
+-typedef void (*CallFunc)() ;
++typedef void (*CallFunc)(va_list) ;
+
+ void callRegister (char *name, CallFunc func) ;
+ BOOL call (char *name, ...) ;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-AcePerl.git/commitdiff/bdbc533d186df39e19963f5d0461defbafd9f5a5
More information about the pld-cvs-commit
mailing list