packages: fcgi/fcgi.spec, fcgi/fcgi-includes.patch (NEW) - added includes p...

qboosh qboosh at pld-linux.org
Sat Jan 21 15:10:25 CET 2012


Author: qboosh                       Date: Sat Jan 21 14:10:25 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added includes patch (needed to build with current gcc/glibc - EOF define)
- parallel build broken
- more verbose files

---- Files affected:
packages/fcgi:
   fcgi.spec (1.16 -> 1.17) , fcgi-includes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/fcgi/fcgi.spec
diff -u packages/fcgi/fcgi.spec:1.16 packages/fcgi/fcgi.spec:1.17
--- packages/fcgi/fcgi.spec:1.16	Wed Sep  5 15:08:59 2007
+++ packages/fcgi/fcgi.spec	Sat Jan 21 15:10:19 2012
@@ -10,6 +10,7 @@
 # Source0-md5:	d15060a813b91383a9f3c66faf84867e
 Patch0:		%{name}-no-libs.patch
 Patch1:		%{name}-listen-backlog.patch
+Patch2:		%{name}-includes.patch
 URL:		http://www.fastcgi.com/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -87,6 +88,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # supplied libtool is broken (relink, C++)
@@ -98,11 +100,12 @@
 CPPFLAGS="-DLISTEN_BACKLOG=1024"
 %configure \
 	--with-global \
-	--with-nodebug \
 	--with-noassert \
+	--with-nodebug \
 	--with-notest
 
-%{__make}
+# parallel build broken: library is searched before it's built
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -122,20 +125,26 @@
 %files
 %defattr(644,root,root,755)
 %doc README LICENSE.TERMS doc/*.1
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_bindir}/cgi-fcgi
+%attr(755,root,root) %{_libdir}/libfcgi.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfcgi.so.0
+%attr(755,root,root) %{_libdir}/libfcgi++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfcgi++.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %doc doc/*.htm* doc/*.gif doc/fastcgi-* doc/*.3
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libfcgi.so
+%attr(755,root,root) %{_libdir}/libfcgi++.so
+%{_libdir}/libfcgi.la
+%{_libdir}/libfcgi++.la
 %{_includedir}
 %{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libfcgi.a
+%{_libdir}/libfcgi++.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -143,6 +152,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2012/01/21 14:10:19  qboosh
+- added includes patch (needed to build with current gcc/glibc - EOF define)
+- parallel build broken
+- more verbose files
+
 Revision 1.16  2007/09/05 13:08:59  baggins
 - rel 3
 

================================================================
Index: packages/fcgi/fcgi-includes.patch
diff -u /dev/null packages/fcgi/fcgi-includes.patch:1.1
--- /dev/null	Sat Jan 21 15:10:25 2012
+++ packages/fcgi/fcgi-includes.patch	Sat Jan 21 15:10:19 2012
@@ -0,0 +1,10 @@
+--- fcgi-2.4.0/libfcgi/fcgio.cpp.orig	2002-02-24 21:12:22.000000000 +0100
++++ fcgi-2.4.0/libfcgi/fcgio.cpp	2012-01-21 14:56:28.110884937 +0100
+@@ -23,6 +23,7 @@
+ #endif
+ 
+ #include <limits.h>
++#include <stdio.h>
+ #include "fcgio.h"
+ 
+ using std::streambuf;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fcgi/fcgi.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list