rpms/synopsis/devel synopsis-0.11-includes.patch, NONE, 1.1 synopsis.spec, 1.2, 1.3

Caolan McNamara caolanm at fedoraproject.org
Mon Mar 2 17:16:34 UTC 2009


Author: caolanm

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

Modified Files:
	synopsis.spec 
Added Files:
	synopsis-0.11-includes.patch 
Log Message:
include stdio.h for EOF, ostream for std::ostream

synopsis-0.11-includes.patch:

--- NEW FILE synopsis-0.11-includes.patch ---
diff -ru synopsis-0.11.orig/src/Synopsis/PTree/Encoding.hh synopsis-0.11/src/Synopsis/PTree/Encoding.hh
--- synopsis-0.11.orig/src/Synopsis/PTree/Encoding.hh	2009-03-02 16:31:56.000000000 +0000
+++ synopsis-0.11/src/Synopsis/PTree/Encoding.hh	2009-03-02 16:32:41.000000000 +0000
@@ -12,6 +12,7 @@
 #include <iostream>
 #include <cassert>
 #include <cstring>
+#include <stdio.h>
 
 namespace Synopsis
 {
diff -ru synopsis-0.11.orig/Synopsis/Parsers/Cxx/QName.hh synopsis-0.11/Synopsis/Parsers/Cxx/QName.hh
--- synopsis-0.11.orig/Synopsis/Parsers/Cxx/QName.hh	2009-03-02 16:31:56.000000000 +0000
+++ synopsis-0.11/Synopsis/Parsers/Cxx/QName.hh	2009-03-02 17:02:49.000000000 +0000
@@ -11,6 +11,7 @@
 
 #include <string>
 #include <vector>
+#include <ostream>
 
 //. A qualified name, containing zero or more elements. This typedef makes it
 //. easier to use qualified name types, and also makes it clearer than using the


Index: synopsis.spec
===================================================================
RCS file: /cvs/pkgs/rpms/synopsis/devel/synopsis.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- synopsis.spec	26 Feb 2009 04:49:51 -0000	1.2
+++ synopsis.spec	2 Mar 2009 17:16:04 -0000	1.3
@@ -1,6 +1,6 @@
 %define name synopsis
 %define version 0.11
-%define release 2
+%define release 3
 %define py_sitedir %(%{__python} -c "from distutils.sysconfig  import get_python_lib; print get_python_lib()")
 %define py_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
 %define url http://synopsis.fresco.org
@@ -22,6 +22,8 @@
 Requires: python-docutils
 Requires: graphviz
 
+Patch0: synopsis-0.11-includes.patch
+
 %description
 Synopsis is a multi-language source code introspection tool that
 provides a variety of representations for the parsed code, to
@@ -56,8 +58,8 @@
 
 
 %prep
-
 %setup -q
+%patch0 -p1 -b .includes
 env CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
 python setup.py config --with-gc-prefix=%{_prefix} --libdir=%{_libdir}
 
@@ -127,6 +129,9 @@
 %{_docdir}/synopsis-%{version}/NEWS
 
 %changelog
+* Mon Mar 02 2009 Caolán McNamara <caolanm at redhat.com> - 0.11-3
+- include stdio.h for EOF, ostream for std::ostream
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list