rpms/telescope-server/devel telescope-server-gcc43.patch, NONE, 1.1 telescope-server.spec, 1.3, 1.4

Jef Spaleta (jspaleta) fedora-extras-commits at redhat.com
Wed Feb 27 06:07:20 UTC 2008


Author: jspaleta

Update of /cvs/pkgs/rpms/telescope-server/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22279

Modified Files:
	telescope-server.spec 
Added Files:
	telescope-server-gcc43.patch 
Log Message:
* Tue Feb 26 2008 Jef Spaleta <jspaleta at fedoraproject.org> - 0-0.4.20070315
- Patches for GCC 4.3


telescope-server-gcc43.patch:

--- NEW FILE telescope-server-gcc43.patch ---
--- telescope_server/src/ServerLx200.cpp	2007-03-19 21:53:51.000000000 -0800
+++ telescope_server-new/src/ServerLx200.cpp	2008-02-26 21:27:51.000000000 -0900
@@ -27,6 +27,8 @@
 #include "Lx200Command.hpp"
 #include "LogFile.hpp"
 
+#include <cstdlib>
+
 ServerLx200::ServerLx200(int port,const char *serial_device)
             :Server(port),lx200(0) {
   lx200 = new Lx200Connection(*this,serial_device);
--- telescope_server/src/ServerNexStar.cpp	2007-03-19 21:53:51.000000000 -0800
+++ telescope_server-new/src/ServerNexStar.cpp	2008-02-26 21:28:28.000000000 -0900
@@ -27,6 +27,8 @@
 #include "NexStarCommand.hpp"
 #include "LogFile.hpp"
 
+#include <cstdlib>
+
 ServerNexStar::ServerNexStar(int port,const char *serial_device)
             :Server(port),nexstar(0) {
   nexstar = new NexStarConnection(*this,serial_device);
--- telescope_server/src/Listener.cpp	2007-03-19 21:53:51.000000000 -0800
+++ telescope_server-new/src/Listener.cpp	2008-02-26 21:26:49.000000000 -0900
@@ -28,6 +28,7 @@
 #include "LogFile.hpp"
 
 #include <iostream>
+#include <cstdlib>
 using namespace std;
 
 void Listener::prepareSelectFds(fd_set &read_fds,
--- telescope_server/src/Lx200Command.cpp	2008-02-26 21:58:51.000000000 -0900
+++ telescope_server-new/src/Lx200Command.cpp	2008-02-26 21:59:28.000000000 -0900
@@ -30,6 +30,7 @@
 
 #include <iostream>
 #include <iomanip>
+#include <cstdlib>
 
 using namespace std;
 


Index: telescope-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/telescope-server/devel/telescope-server.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- telescope-server.spec	19 Feb 2008 07:29:01 -0000	1.3
+++ telescope-server.spec	27 Feb 2008 06:06:43 -0000	1.4
@@ -1,7 +1,7 @@
 %define svn_date 20070315
 Name:           telescope-server
 Version:        0
-Release:        0.3.%svn_date%{?dist}
+Release:        0.4.%svn_date%{?dist}
 Summary:        Opensource Telescope control servers to interface with stellarium
 
 Group:          Amusements/Graphics
@@ -11,7 +11,7 @@
 # svn co https://svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server
 # based on instructions at http://www.stellarium.org/wiki/index.php/Telescope_Control
 Source0:         telescope_server-%svn_date.tar.gz
-#Patch0:         Makefile-20070319.patch
+Patch0:         telescope-server-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
@@ -21,7 +21,7 @@
 
 %prep
 %setup -q -n telescope_server
-#%patch0
+%patch0 -p1
 
 %build
 cd src
@@ -49,6 +49,9 @@
 
 
 %changelog
+* Tue Feb 26 2008 Jef Spaleta <jspaleta at fedoraproject.org> - 0-0.4.20070315
+- Patches for GCC 4.3
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0-0.3.20070315
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list