[packages/perl-CGI-SpeedyCGI] - disable incorrect inlining - rel 26
baggins
baggins at pld-linux.org
Sat Jan 2 10:35:30 CET 2016
commit feab074429403a9aa5a0b86b60bbb5a0e59bdba9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Jan 2 10:35:14 2016 +0100
- disable incorrect inlining
- rel 26
bad-inline.patch | 20 ++++++++++++++++++++
perl-CGI-SpeedyCGI.spec | 6 ++++--
2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/perl-CGI-SpeedyCGI.spec b/perl-CGI-SpeedyCGI.spec
index 7ebb9f9..79e9170 100644
--- a/perl-CGI-SpeedyCGI.spec
+++ b/perl-CGI-SpeedyCGI.spec
@@ -6,14 +6,14 @@
#
%define apxs1 /usr/sbin/apxs1
%define apxs2 /usr/sbin/apxs
-%include /usr/lib/rpm/macros.perl
+%include /usr/lib/rpm/macros.perl
%define pdir CGI
%define pnam SpeedyCGI
Summary: Speed up perl CGI scripts by running them persistently
Summary(pl.UTF-8): Moduł przyspieszający perlowe skrypty CGI
Name: perl-CGI-SpeedyCGI
Version: 2.22
-Release: 25
+Release: 26
License: GPL v2+
Group: Networking/Daemons
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -22,6 +22,7 @@ Source1: apache-mod_speedycgi.conf
Patch0: %{name}-DESTDIR.patch
Patch1: %{name}-APXS.patch
Patch2: %{name}-debian.patch
+Patch3: bad-inline.patch
URL: http://daemoninc.com/SpeedyCGI/
%{?with_apache2:BuildRequires: apache-devel}
%{?with_apache1:BuildRequires: apache1-devel}
@@ -88,6 +89,7 @@ Moduł apache SpeedyCGI.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__perl} Makefile.PL </dev/null \
diff --git a/bad-inline.patch b/bad-inline.patch
new file mode 100644
index 0000000..a8f43e5
--- /dev/null
+++ b/bad-inline.patch
@@ -0,0 +1,20 @@
+--- CGI-SpeedyCGI-2.22/src/speedy_inc.h~ 2003-10-07 06:03:48.000000000 +0200
++++ CGI-SpeedyCGI-2.22/src/speedy_inc.h 2016-01-02 10:31:56.452878078 +0100
+@@ -40,13 +40,15 @@
+ #ifndef MAP_FAILED
+ # define MAP_FAILED (-1)
+ #endif
+-
++/*
+ #ifdef __GNUC__
+ #define SPEEDY_INLINE __inline__
+ #else
++*/
+ #define SPEEDY_INLINE
++/*
+ #endif
+-
++*/
+ #ifdef EWOULDBLOCK
+ # define SP_EWOULDBLOCK(e) ((e) == EWOULDBLOCK)
+ #else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-CGI-SpeedyCGI.git/commitdiff/feab074429403a9aa5a0b86b60bbb5a0e59bdba9
More information about the pld-cvs-commit
mailing list