rpms/ricci/devel ricci-0.15.0-includes.patch, NONE, 1.1 ricci.spec, 1.14, 1.15

Caolan McNamara caolanm at fedoraproject.org
Tue Mar 3 08:58:12 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/ricci/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15274

Modified Files:
	ricci.spec 
Added Files:
	ricci-0.15.0-includes.patch 
Log Message:
include stdio.h for perror, stdint.h for uint32_t

ricci-0.15.0-includes.patch:

--- NEW FILE ricci-0.15.0-includes.patch ---
diff -ru ricci-0.15.0.orig/common/executils.cpp ricci-0.15.0/common/executils.cpp
--- ricci-0.15.0.orig/common/executils.cpp	2009-03-03 08:25:55.000000000 +0000
+++ ricci-0.15.0/common/executils.cpp	2009-03-03 08:26:31.000000000 +0000
@@ -32,6 +32,7 @@
 #include <signal.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <stdio.h>
 
 static void read_data(struct pollfd& poll_info, bool& fd_closed, String& data);
 static void close_fd(int fd);
diff -ru ricci-0.15.0.orig/common/Logger.cpp ricci-0.15.0/common/Logger.cpp
--- ricci-0.15.0.orig/common/Logger.cpp	2009-03-03 08:25:55.000000000 +0000
+++ ricci-0.15.0/common/Logger.cpp	2009-03-03 08:35:43.000000000 +0000
@@ -24,6 +24,7 @@
 
 #include <unistd.h>
 #include <stdlib.h>
+#include <stdio.h>
 #include <time.h>
 #include <fcntl.h>
 #include <errno.h>
diff -ru ricci-0.15.0.orig/common/Module.cpp ricci-0.15.0/common/Module.cpp
--- ricci-0.15.0.orig/common/Module.cpp	2009-03-03 08:25:55.000000000 +0000
+++ ricci-0.15.0/common/Module.cpp	2009-03-03 08:45:13.000000000 +0000
@@ -30,6 +30,7 @@
 #include <sys/poll.h>
 #include <errno.h>
 #include <unistd.h>
+#include <stdio.h>
 
 extern "C" {
 	#include "sys_util.h"
diff -ru ricci-0.15.0.orig/common/Random.cpp ricci-0.15.0/common/Random.cpp
--- ricci-0.15.0.orig/common/Random.cpp	2009-03-03 08:25:55.000000000 +0000
+++ ricci-0.15.0/common/Random.cpp	2009-03-03 08:40:10.000000000 +0000
@@ -26,6 +26,7 @@
 
 #include <unistd.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <fcntl.h>
 #include "String.h"
 
diff -ru ricci-0.15.0.orig/include/Logger.h ricci-0.15.0/include/Logger.h
--- ricci-0.15.0.orig/include/Logger.h	2009-03-03 08:25:55.000000000 +0000
+++ ricci-0.15.0/include/Logger.h	2009-03-03 08:31:53.000000000 +0000
@@ -25,6 +25,7 @@
 
 #include "counting_auto_ptr.h"
 #include "String.h"
+#include <stdint.h>
 
 enum LogLevel {
 	LogNone			= 0x00000000,
diff -ru ricci-0.15.0.orig/ricci/RicciWorker.cpp ricci-0.15.0/ricci/RicciWorker.cpp
--- ricci-0.15.0.orig/ricci/RicciWorker.cpp	2009-03-03 08:25:55.000000000 +0000
+++ ricci-0.15.0/ricci/RicciWorker.cpp	2009-03-03 08:49:58.000000000 +0000
@@ -33,6 +33,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <unistd.h>
+#include <stdio.h>
 
 extern "C" {
 	#include "sys_util.h"


Index: ricci.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ricci/devel/ricci.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ricci.spec	25 Feb 2009 19:58:01 -0000	1.14
+++ ricci.spec	3 Mar 2009 08:57:41 -0000	1.15
@@ -10,7 +10,7 @@
 
 Name: ricci
 Version: 0.15.0
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: GPLv2
 URL: http://sources.redhat.com/cluster/conga/
 Group: System Environment/Base
@@ -40,6 +40,8 @@
 Requires(preun): chkconfig initscripts
 Requires(postun): initscripts util-linux
 
+Patch0: ricci-0.15.0-includes.patch
+
 %description
 Conga is a project developing management system for remote stations.
 It consists of luci, https frontend, and ricci, secure daemon that dispatches
@@ -47,6 +49,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .includes
 
 %build
 %configure --arch=%{_arch} --docdir=%{_docdir}
@@ -135,6 +138,9 @@
 exit 0
 
 %changelog
+* Tue Mar 03 2009 Caolán McNamara <caolanm at redhat.com> - 0.15.0-11
+- include stdio.h for perror, stdint.h for uint32_t
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list