[packages/perl-CGI-SpeedyCGI] add missing include, type and extern fixes
atler
atler at pld-linux.org
Thu Jul 31 14:58:08 CEST 2025
commit 9565c5ce86176f7b37b93fe985c1c43b31362c90
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jul 31 14:57:25 2025 +0200
add missing include, type and extern fixes
extern.patch | 8 ++++++++
includes.patch | 10 ++++++++++
perl-CGI-SpeedyCGI.spec | 6 ++++++
types.patch | 11 +++++++++++
4 files changed, 35 insertions(+)
---
diff --git a/perl-CGI-SpeedyCGI.spec b/perl-CGI-SpeedyCGI.spec
index 088673b..6ff4c29 100644
--- a/perl-CGI-SpeedyCGI.spec
+++ b/perl-CGI-SpeedyCGI.spec
@@ -23,6 +23,9 @@ Patch1: %{name}-APXS.patch
Patch2: %{name}-debian.patch
Patch3: bad-inline.patch
Patch4: CGI-SpeedyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch
+Patch5: includes.patch
+Patch6: types.patch
+Patch7: extern.patch
URL: http://daemoninc.com/SpeedyCGI/
%{?with_apache2:BuildRequires: apache-devel}
%{?with_apache1:BuildRequires: apache1-devel}
@@ -91,6 +94,9 @@ Moduł apache SpeedyCGI.
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+%patch -P7 -p1
%build
%{__perl} Makefile.PL </dev/null \
diff --git a/extern.patch b/extern.patch
new file mode 100644
index 0000000..4bf5872
--- /dev/null
+++ b/extern.patch
@@ -0,0 +1,8 @@
+--- CGI-SpeedyCGI-2.22/src/speedy_perl.h.orig 2003-10-07 06:03:48.000000000 +0200
++++ CGI-SpeedyCGI-2.22/src/speedy_perl.h 2025-07-31 14:48:31.306875549 +0200
+@@ -21,4 +21,4 @@
+ void speedy_perl_run(slotnum_t _gslotnum, slotnum_t _bslotnum);
+ int speedy_perl_fork(void);
+
+-PerlInterpreter *my_perl;
++extern PerlInterpreter *my_perl;
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..ac62c48
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,10 @@
+--- CGI-SpeedyCGI-2.22/src/speedy_perl.c.orig 2003-10-12 03:01:59.000000000 +0200
++++ CGI-SpeedyCGI-2.22/src/speedy_perl.c 2025-07-31 14:46:15.102711624 +0200
+@@ -18,6 +18,7 @@
+ */
+
+ #include "speedy.h"
++#include <perliol.h>
+
+ /*
+ * Accomodate 5.004
diff --git a/types.patch b/types.patch
new file mode 100644
index 0000000..7b24cd8
--- /dev/null
+++ b/types.patch
@@ -0,0 +1,11 @@
+--- CGI-SpeedyCGI-2.22/src/speedy_perl.c.orig 2003-10-12 03:01:59.000000000 +0200
++++ CGI-SpeedyCGI-2.22/src/speedy_perl.c 2025-07-31 14:46:15.102711624 +0200
+@@ -106,7 +106,7 @@
+ const char *name;
+ } SpeedyPerlVar;
+
+-extern void xs_init(pTHXo);
++extern void xs_init(pTHX);
+
+ /* Generated by util/perlvars */
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-CGI-SpeedyCGI.git/commitdiff/9565c5ce86176f7b37b93fe985c1c43b31362c90
More information about the pld-cvs-commit
mailing list