rpms/cmake/F-8 cmake-2.4.8-ctest.patch, NONE, 1.1 cmake.spec, 1.23, 1.24

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Thu Jun 5 20:16:45 UTC 2008


Author: orion

Update of /cvs/pkgs/rpms/cmake/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3590

Modified Files:
	cmake.spec 
Added Files:
	cmake-2.4.8-ctest.patch 
Log Message:
* Thu Jun 5 2008 Orion Poplawski <orion at cora.nwra.com> - 2.4.8-2
- Add patch to fix ctest Nightly timestamps (bug #436358)


cmake-2.4.8-ctest.patch:

--- NEW FILE cmake-2.4.8-ctest.patch ---
--- cmake-2.4.8/Source/cmCTest.cxx  2008-01-21 11:59:52.000000000 -0700
+++ cmake-2.6.0/Source/cmCTest.cxx        2008-05-05 12:25:54.000000000 -0600
@@ -76,7 +71,7 @@
   //is the time at which the nightly dashboard was opened or
   //will be opened on the date of the current client machine.
   //As such, this time may be in the past or in the future.
-  time_t ntime = curl_getdate(str.c_str(), &tctime);
+  time_t ntime = curl_getdate(buf, &tctime);
   cmCTestLog(this, DEBUG, "   Get curl time: " << ntime << std::endl);
   tctime = time(0);
   cmCTestLog(this, DEBUG, "   Get the current time: " << tctime << std::endl);


Index: cmake.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cmake/F-8/cmake.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- cmake.spec	24 Jan 2008 23:39:57 -0000	1.23
+++ cmake.spec	5 Jun 2008 20:15:51 -0000	1.24
@@ -1,6 +1,6 @@
 Name:		cmake
 Version:	2.4.8
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Cross-platform make system
 
 Group:		Development/Tools
@@ -10,6 +10,7 @@
 Source2:        macros.cmake
 Patch0:         cmake-2.4.2-fedora.patch
 Patch1:         cmake-2.4.5-xmlrpc.patch
+Patch2:         cmake-2.4.8-ctest.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  ncurses-devel, libX11-devel
 BuildRequires:  curl-devel, expat-devel, xmlrpc-c-devel, zlib-devel
@@ -29,6 +30,7 @@
 %setup -q
 %patch -p1 -b .fedora
 %patch1 -p1 -b .xmlrpc
+%patch2 -p1 -b .ctest
 
 
 %build
@@ -70,6 +72,9 @@
 
 
 %changelog
+* Thu Jun 5 2008 Orion Poplawski <orion at cora.nwra.com> - 2.4.8-2
+- Add patch to fix ctest Nightly timestamps (bug #436358)
+
 * Tue Jan 22 2008 Orion Poplawski <orion at cora.nwra.com> - 2.4.8-1
 - Update to 2.4.8
 




More information about the fedora-extras-commits mailing list