From 8b91cd48650528b43d3d847b6888bd10b9eaa65342b4cba3af735b33ea83dd94 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 2 Mar 2009 00:32:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/FastCGI?expand=0&rev=3 --- FastCGI-gcc44.patch | 10 ++++++++++ FastCGI.changes | 5 +++++ FastCGI.spec | 44 +++++++++++++++++++++++++++++--------------- 3 files changed, 44 insertions(+), 15 deletions(-) create mode 100644 FastCGI-gcc44.patch diff --git a/FastCGI-gcc44.patch b/FastCGI-gcc44.patch new file mode 100644 index 0000000..b65bb9f --- /dev/null +++ b/FastCGI-gcc44.patch @@ -0,0 +1,10 @@ +--- libfcgi/fcgio.cpp ++++ libfcgi/fcgio.cpp +@@ -23,6 +23,7 @@ + #endif + + #include ++#include + #include "fcgio.h" + + using std::streambuf; diff --git a/FastCGI.changes b/FastCGI.changes index 283ba21..f876f7d 100644 --- a/FastCGI.changes +++ b/FastCGI.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 16 19:53:18 CET 2009 - coolo@suse.de + +- fix build with gcc 4.4 + ------------------------------------------------------------------- Fri Oct 20 03:27:49 CEST 2006 - mrueckert@suse.de diff --git a/FastCGI.spec b/FastCGI.spec index 8455ff3..995cc32 100644 --- a/FastCGI.spec +++ b/FastCGI.spec @@ -1,31 +1,40 @@ # # spec file for package FastCGI (Version 2.4.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: FastCGI Version: 2.4.0 -Release: 23 +Release: 137 # Group: Development/Languages/C and C++ -License: Other uncritical OpenSource License +License: Open Market Permissive License # BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build # -URL: http://www.fastcgi.com +Url: http://www.fastcgi.com Source: http://www.fastcgi.com/dist/fcgi.tar.bz2 Source1: README.supervise Patch0: FastCGI-makefile.am_cppflags.patch Patch1: FastCGI-clientdata_pointer.patch Patch2: FastCGI-supervise_cgi-fcgi.patch +Patch3: FastCGI-gcc44.patch # Summary: A Scalable, Open Extension to CGI @@ -37,6 +46,7 @@ APIs. %package devel +License: Other uncritical OpenSource License; Open Market Permissive License Group: Development/Languages/C and C++ Summary: A scalable, open extension to CGI Requires: %{name} = %{version} @@ -50,6 +60,7 @@ APIs. %package -n perl-FastCGI +License: Other uncritical OpenSource License; Open Market Permissive License Group: Development/Languages/C and C++ Summary: A scalable, open extension to CGI Requires: %{name} = %{version} @@ -66,6 +77,7 @@ APIs. %patch0 %patch1 %patch2 +%patch3 touch NEWS AUTHORS ChangeLog COPYING find doc/{fastcgi-prog-guide,fastcgi-whitepaper} -type f -print0 | xargs -r0 chmod 0644 @@ -132,27 +144,29 @@ popd %{perl_vendorarch}/auto/FCGI/.packlist %{_var}/adm/perl-modules/%{name} -%changelog -n FastCGI -* Fri Oct 20 2006 - mrueckert@suse.de +%changelog +* Mon Feb 16 2009 coolo@suse.de +- fix build with gcc 4.4 +* Fri Oct 20 2006 mrueckert@suse.de - remove perl_make_install for now ... i wont build for fedora any time soon. -* Fri Sep 15 2006 - mrueckert@suse.de +* Fri Sep 15 2006 mrueckert@suse.de - add perl_make_install for all distros other than suse. -* Fri Sep 08 2006 - mrueckert@suse.de +* Fri Sep 08 2006 mrueckert@suse.de - add README.supervise - small spec file cleanup -* Thu Sep 07 2006 - mrueckert@suse.de +* Thu Sep 07 2006 mrueckert@suse.de - applied patch from http://rubyists.com/articles/2005/05/03/spawn-fcgi-in-the-foreground to run fastcgi application in foreground this is useful for tools like runit/daemontools/initng -* Thu Aug 24 2006 - mrueckert@suse.de +* Thu Aug 24 2006 mrueckert@suse.de - run ldconfig -* Wed Mar 08 2006 - mrueckert@suse.de +* Wed Mar 08 2006 mrueckert@suse.de - readded gcc-c++ to the BuildRequires Seems it got lost in the automatic BuildRequires conversion. fixes C++ bindings. -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Wed Aug 17 2005 - mrueckert@suse.de +* Wed Aug 17 2005 mrueckert@suse.de - Initial package with version 2.4.0