rpms/xqilla/devel xqilla-cstdio.patch, NONE, 1.1 xqilla.spec, 1.10, 1.11

Robert Scheck robert at fedoraproject.org
Tue Apr 14 02:07:22 UTC 2009


Author: robert

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

Modified Files:
	xqilla.spec 
Added Files:
	xqilla-cstdio.patch 
Log Message:
Added a few #include lines needed to build properly with g++ 4.4


xqilla-cstdio.patch:

--- NEW FILE xqilla-cstdio.patch ---
Patch by Robert Scheck <robert at fedoraproject.org> for xqilla >= 2.1.3, that
adds a few #include lines needed to build properly with g++ version 4.4.

--- src/items/Numeric.cpp		2008-04-11 03:03:41.000000000 +0200
+++ src/items/Numeric.cpp.cstdio	2009-04-14 03:48:59.000000000 +0200
@@ -19,6 +19,7 @@
  * $Id: Numeric.cpp 475 2008-01-08 18:47:44Z jpcs $
  */
 
+#include <cstdio>
 #include <assert.h>
 
 #include "../config/xqilla_config.h"
--- src/lexer/XQLexer.hpp		2008-04-11 03:03:40.000000000 +0200
+++ src/lexer/XQLexer.hpp.cstdio	2009-04-14 03:55:29.000000000 +0200
@@ -76,6 +76,7 @@
 #include "FlexLexer.h"
 #endif
 
+#include <cstdio>
 #include <xercesc/util/BitSet.hpp>
 #include <xercesc/util/RefHashTableOf.hpp>
 #include <xqilla/simple-api/XQQuery.hpp>


Index: xqilla.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xqilla/devel/xqilla.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- xqilla.spec	26 Feb 2009 11:57:21 -0000	1.10
+++ xqilla.spec	14 Apr 2009 02:07:18 -0000	1.11
@@ -4,7 +4,7 @@
 Summary: XQilla is an XQuery and XPath 2.0 library, built on top of Xerces-C
 Group: System Environment/Libraries
 Version: 2.1.3
-Release: 0.5%{?dist}
+Release: 0.6%{?dist}
 License: ASL 2.0
 URL: http://xqilla.sourceforge.net/HomePage
 Source0: http://downloads.sourceforge.net/xqilla/XQilla-%{version}.tar.gz
@@ -18,6 +18,7 @@
 BuildRequires: autoconf automake libtool
 BuildRequires: doxygen graphviz
 
+Patch0: xqilla-cstdio.patch
 Patch1: xqilla-xercesc-libdir.patch
 
 %define xercesc_build_root %{_builddir}/%{xercesc_dir}
@@ -48,6 +49,7 @@
 
 %prep
 %setup -q -b 1 -n XQilla-%{version}
+%patch0
 %patch1
 
 %build
@@ -105,6 +107,9 @@
 %{_defaultdocdir}/%{name}-%{version}/simple-api
 
 %changelog
+* Tue Apr 14 2009 Robert Scheck <robert at fedoraproject.org> 2.1.3-0.6
+- Added a few #include lines needed to build properly with g++ 4.4
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.3-0.5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list