]> git.pld-linux.org Git - packages/perl-CGI-SpeedyCGI.git/commitdiff
- disable incorrect inlining auto/th/perl-CGI-SpeedyCGI-2.22-26
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Jan 2016 09:35:14 +0000 (10:35 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Jan 2016 09:35:14 +0000 (10:35 +0100)
- rel 26

bad-inline.patch [new file with mode: 0644]
perl-CGI-SpeedyCGI.spec

diff --git a/bad-inline.patch b/bad-inline.patch
new file mode 100644 (file)
index 0000000..a8f43e5
--- /dev/null
@@ -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
index 7ebb9f9f67643b9f617e656924a32f3db063fac7..79e9170572c3574793125ece9663abfa98e1d19d 100644 (file)
@@ -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 \
This page took 0.033187 seconds and 4 git commands to generate.