rpms/bes/F-9 bes-3.5.3-gcc43.patch,NONE,1.1 bes.spec,1.9,1.10
Oliver Falk
oliver at fedoraproject.org
Wed Feb 25 10:03:03 UTC 2009
Author: oliver
Update of /cvs/pkgs/rpms/bes/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18790
Modified Files:
bes.spec
Added Files:
bes-3.5.3-gcc43.patch
Log Message:
* Wed Feb 25 2009 Oliver Falk <oliver at linux-kernel.at> - 3.5.3-5
- Add patch for GCC 4.3
bes-3.5.3-gcc43.patch:
--- NEW FILE bes-3.5.3-gcc43.patch ---
diff -up bes-3.5.3/cmdln/CmdApp.cc.gcc43 bes-3.5.3/cmdln/CmdApp.cc
--- bes-3.5.3/cmdln/CmdApp.cc.gcc43 2007-07-31 20:32:08.000000000 +0200
+++ bes-3.5.3/cmdln/CmdApp.cc 2009-02-24 13:11:46.000000000 +0100
@@ -32,6 +32,7 @@
#include <unistd.h>
#include <signal.h>
+#include <stdlib.h>
#include <iostream>
#include <string>
diff -up bes-3.5.3/cmdln/CmdClient.cc.gcc43 bes-3.5.3/cmdln/CmdClient.cc
--- bes-3.5.3/cmdln/CmdClient.cc.gcc43 2007-06-07 11:38:34.000000000 +0200
+++ bes-3.5.3/cmdln/CmdClient.cc 2009-02-24 13:11:46.000000000 +0100
@@ -34,6 +34,7 @@
#include <iostream>
#include <fstream>
+#include <stdlib.h>
using std::cout;
using std::endl;
diff -up bes-3.5.3/command/BESTokenizer.cc.gcc43 bes-3.5.3/command/BESTokenizer.cc
--- bes-3.5.3/command/BESTokenizer.cc.gcc43 2007-06-07 11:38:34.000000000 +0200
+++ bes-3.5.3/command/BESTokenizer.cc 2009-02-24 13:11:46.000000000 +0100
@@ -31,6 +31,7 @@
// jgarcia Jose Garcia <jgarcia at ucar.edu>
#include <iostream>
+#include <string.h>
using std::cout ;
using std::endl ;
diff -up bes-3.5.3/dispatch/BESCache.cc.gcc43 bes-3.5.3/dispatch/BESCache.cc
--- bes-3.5.3/dispatch/BESCache.cc.gcc43 2007-11-08 18:21:36.000000000 +0100
+++ bes-3.5.3/dispatch/BESCache.cc 2009-02-24 13:11:46.000000000 +0100
@@ -41,6 +41,7 @@
#include <map>
#include <iostream>
#include <sstream>
+#include <string.h>
using std::multimap ;
using std::pair ;
diff -up bes-3.5.3/dispatch/BESKeys.cc.gcc43 bes-3.5.3/dispatch/BESKeys.cc
--- bes-3.5.3/dispatch/BESKeys.cc.gcc43 2007-11-08 18:21:36.000000000 +0100
+++ bes-3.5.3/dispatch/BESKeys.cc 2009-02-24 13:11:46.000000000 +0100
@@ -40,6 +40,7 @@ extern "C" {
#include <stdio.h>
#include <unistd.h>
#include <iostream>
+#include <string.h>
using std::endl ;
using std::cout ;
diff -up bes-3.5.3/dispatch/BESMemoryGlobalArea.cc.gcc43 bes-3.5.3/dispatch/BESMemoryGlobalArea.cc
--- bes-3.5.3/dispatch/BESMemoryGlobalArea.cc.gcc43 2007-07-31 20:32:08.000000000 +0200
+++ bes-3.5.3/dispatch/BESMemoryGlobalArea.cc 2009-02-24 13:11:46.000000000 +0100
@@ -32,6 +32,8 @@
#include <errno.h>
#include <iostream>
+#include <stdlib.h>
+#include <string.h>
using std::cerr ;
using std::endl ;
diff -up bes-3.5.3/dispatch/BESProcessEncodedString.cc.gcc43 bes-3.5.3/dispatch/BESProcessEncodedString.cc
--- bes-3.5.3/dispatch/BESProcessEncodedString.cc.gcc43 2007-08-27 21:20:19.000000000 +0200
+++ bes-3.5.3/dispatch/BESProcessEncodedString.cc 2009-02-24 13:11:46.000000000 +0100
@@ -31,6 +31,8 @@
// jgarcia Jose Garcia <jgarcia at ucar.edu>
#include "BESProcessEncodedString.h"
+#include <string.h>
+#include <stdlib.h>
using std::cerr ;
diff -up bes-3.5.3/dispatch/BESProcIdResponseHandler.cc.gcc43 bes-3.5.3/dispatch/BESProcIdResponseHandler.cc
--- bes-3.5.3/dispatch/BESProcIdResponseHandler.cc.gcc43 2007-06-07 11:38:34.000000000 +0200
+++ bes-3.5.3/dispatch/BESProcIdResponseHandler.cc 2009-02-24 13:11:46.000000000 +0100
@@ -36,6 +36,7 @@
#include "BESInfoList.h"
#include "BESInfo.h"
#include "BESResponseNames.h"
+#include <stdlib.h>
BESProcIdResponseHandler::BESProcIdResponseHandler( const string &name )
: BESResponseHandler( name )
diff -up bes-3.5.3/dispatch/BESScrub.cc.gcc43 bes-3.5.3/dispatch/BESScrub.cc
--- bes-3.5.3/dispatch/BESScrub.cc.gcc43 2007-11-08 18:21:36.000000000 +0100
+++ bes-3.5.3/dispatch/BESScrub.cc 2009-02-24 13:11:46.000000000 +0100
@@ -34,6 +34,8 @@
#include "BESScrub.h"
#include "BESRegex.h"
+#include <cstdlib>
+#include <limits.h>
/** @name Security functions */
//@{
diff -up bes-3.5.3/dispatch/BESScrub.h.gcc43 bes-3.5.3/dispatch/BESScrub.h
--- bes-3.5.3/dispatch/BESScrub.h.gcc43 2007-11-08 18:21:36.000000000 +0100
+++ bes-3.5.3/dispatch/BESScrub.h 2009-02-24 13:11:46.000000000 +0100
@@ -34,6 +34,7 @@
#define E_BESScrub_h 1
#include <string>
+#include <cstdlib>
using std::string ;
diff -up bes-3.5.3/dispatch/BESUncompressBZ2.cc.gcc43 bes-3.5.3/dispatch/BESUncompressBZ2.cc
--- bes-3.5.3/dispatch/BESUncompressBZ2.cc.gcc43 2007-05-31 19:47:24.000000000 +0200
+++ bes-3.5.3/dispatch/BESUncompressBZ2.cc 2009-02-24 13:11:46.000000000 +0100
@@ -41,6 +41,7 @@
#endif
#include <sstream>
+#include <string.h>
using std::ostringstream ;
diff -up bes-3.5.3/dispatch/BESUncompressGZ.cc.gcc43 bes-3.5.3/dispatch/BESUncompressGZ.cc
--- bes-3.5.3/dispatch/BESUncompressGZ.cc.gcc43 2007-06-07 11:38:34.000000000 +0200
+++ bes-3.5.3/dispatch/BESUncompressGZ.cc 2009-02-24 13:11:46.000000000 +0100
@@ -36,6 +36,7 @@
#include <zlib.h>
#include <sstream>
+#include <string.h>
using std::ostringstream ;
diff -up bes-3.5.3/dispatch/BESUncompressZ.cc.gcc43 bes-3.5.3/dispatch/BESUncompressZ.cc
--- bes-3.5.3/dispatch/BESUncompressZ.cc.gcc43 2009-02-24 13:19:15.000000000 +0100
+++ bes-3.5.3/dispatch/BESUncompressZ.cc 2009-02-24 13:19:41.000000000 +0100
@@ -36,6 +36,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <string.h>
#include "BESUncompressZ.h"
diff -up bes-3.5.3/dispatch/TheBESKeys.cc.gcc43 bes-3.5.3/dispatch/TheBESKeys.cc
--- bes-3.5.3/dispatch/TheBESKeys.cc.gcc43 2007-10-29 22:08:48.000000000 +0100
+++ bes-3.5.3/dispatch/TheBESKeys.cc 2009-02-24 13:11:46.000000000 +0100
@@ -34,6 +34,7 @@
#include "TheBESKeys.h"
#include "BESKeysException.h"
#include "config.h"
+#include <stdlib.h>
#define BES_CONF getenv("BES_CONF")
diff -up bes-3.5.3/ppt/PPTConnection.cc.gcc43 bes-3.5.3/ppt/PPTConnection.cc
--- bes-3.5.3/ppt/PPTConnection.cc.gcc43 2007-11-08 18:21:36.000000000 +0100
+++ bes-3.5.3/ppt/PPTConnection.cc 2009-02-24 13:11:46.000000000 +0100
@@ -33,6 +33,7 @@
#include <poll.h>
#include <errno.h>
#include <iostream>
+#include <string.h>
using std::cout ;
using std::flush ;
diff -up bes-3.5.3/ppt/PPTMarkFinder.cc.gcc43 bes-3.5.3/ppt/PPTMarkFinder.cc
--- bes-3.5.3/ppt/PPTMarkFinder.cc.gcc43 2007-05-18 23:08:31.000000000 +0200
+++ bes-3.5.3/ppt/PPTMarkFinder.cc 2009-02-24 13:11:46.000000000 +0100
@@ -32,6 +32,7 @@
#include "PPTMarkFinder.h"
#include "PPTException.h"
+#include <string.h>
PPTMarkFinder::PPTMarkFinder( unsigned char *mark, int markLength )
: _markIndex( 0 ),
diff -up bes-3.5.3/ppt/Socket.cc.gcc43 bes-3.5.3/ppt/Socket.cc
--- bes-3.5.3/ppt/Socket.cc.gcc43 2007-07-12 00:03:33.000000000 +0200
+++ bes-3.5.3/ppt/Socket.cc 2009-02-24 13:11:46.000000000 +0100
@@ -35,6 +35,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
+#include <string.h>
#include "Socket.h"
#include "SocketException.h"
diff -up bes-3.5.3/ppt/SocketListener.cc.gcc43 bes-3.5.3/ppt/SocketListener.cc
--- bes-3.5.3/ppt/SocketListener.cc.gcc43 2007-07-12 00:03:33.000000000 +0200
+++ bes-3.5.3/ppt/SocketListener.cc 2009-02-24 13:11:46.000000000 +0100
@@ -34,6 +34,7 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <string.h>
#include "SocketListener.h"
#include "SocketException.h"
diff -up bes-3.5.3/ppt/SocketUtilities.cc.gcc43 bes-3.5.3/ppt/SocketUtilities.cc
--- bes-3.5.3/ppt/SocketUtilities.cc.gcc43 2007-05-18 23:08:31.000000000 +0200
+++ bes-3.5.3/ppt/SocketUtilities.cc 2009-02-24 13:11:46.000000000 +0100
@@ -31,6 +31,7 @@
// jgarcia Jose Garcia <jgarcia at ucar.edu>
#include <unistd.h>
+#include <stdlib.h>
#include "SocketUtilities.h"
diff -up bes-3.5.3/ppt/TcpSocket.cc.gcc43 bes-3.5.3/ppt/TcpSocket.cc
--- bes-3.5.3/ppt/TcpSocket.cc.gcc43 2007-11-08 18:21:36.000000000 +0100
+++ bes-3.5.3/ppt/TcpSocket.cc 2009-02-24 13:11:46.000000000 +0100
@@ -38,6 +38,7 @@
#include <netdb.h>
#include <errno.h>
#include <fcntl.h>
+#include <string.h>
#include "TcpSocket.h"
#include "SocketConfig.h"
diff -up bes-3.5.3/server/BESServerHandler.cc.gcc43 bes-3.5.3/server/BESServerHandler.cc
--- bes-3.5.3/server/BESServerHandler.cc.gcc43 2007-08-27 21:20:19.000000000 +0200
+++ bes-3.5.3/server/BESServerHandler.cc 2009-02-24 13:11:46.000000000 +0100
@@ -35,6 +35,8 @@
#include <signal.h>
#include <sys/wait.h>
#include <errno.h>
+#include <stdlib.h>
+#include <string.h>
#include <sstream>
#include <iostream>
diff -up bes-3.5.3/server/BESServerUtils.cc.gcc43 bes-3.5.3/server/BESServerUtils.cc
--- bes-3.5.3/server/BESServerUtils.cc.gcc43 2007-10-30 22:50:29.000000000 +0100
+++ bes-3.5.3/server/BESServerUtils.cc 2009-02-24 13:11:46.000000000 +0100
@@ -9,6 +9,7 @@ using std::endl ;
#include "BESServerUtils.h"
#include "BESApp.h"
#include "BESDebug.h"
+#include <stdlib.h>
void
BESServerUtils::show_usage( const string &app_name )
Index: bes.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bes/F-9/bes.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- bes.spec 19 Feb 2008 17:58:43 -0000 1.9
+++ bes.spec 25 Feb 2009 10:02:33 -0000 1.10
@@ -6,13 +6,14 @@
Name: bes
Version: 3.5.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Back-end server software framework for OPeNDAP
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.opendap.org/download/BES.html
Source0: http://www.opendap.org/pub/source/bes-%{version}.tar.gz
+Patch0: bes-3.5.3-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -64,6 +65,7 @@
%prep
%setup -q
chmod a-x dispatch/BESStreamResponseHandler*
+%patch0 -p1 -b .gcc43
%build
%configure --disable-static --disable-dependency-tracking
@@ -151,6 +153,9 @@
%doc __distribution_docs/api-html/
%changelog
+* Wed Feb 25 2009 Oliver Falk <oliver at linux-kernel.at> - 3.5.3-5
+- Add patch for GCC 4.3
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.5.3-4
- Autorebuild for GCC 4.3
More information about the fedora-extras-commits
mailing list