rpms/xqilla10/devel xqilla10-cstdio.patch, NONE, 1.1 xqilla10.spec, 1.8, 1.9

Robert Scheck robert at fedoraproject.org
Mon Apr 13 14:05:27 UTC 2009


Author: robert

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

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


xqilla10-cstdio.patch:

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

--- src/items/Numeric.cpp		2007-12-13 00:55:40.000000000 +0100
+++ src/items/Numeric.cpp.cstdio	2009-04-13 15:32:12.000000000 +0200
@@ -11,6 +11,7 @@
  * $Id: Numeric.cpp,v 1.15 2006/11/01 16:37:20 jpcs Exp $
  */
 
+#include <cstdio>
 #include <assert.h>
 
 #include "../config/xqilla_config.h"
--- src/lexer/XQLexer.hpp		2007-12-13 00:55:41.000000000 +0100
+++ src/lexer/XQLexer.hpp.cstdio	2009-04-13 15:50:14.000000000 +0200
@@ -22,6 +22,7 @@
 #include "FlexLexer.h"
 #endif
 
+#include <cstdio>
 #include <xercesc/util/BitSet.hpp>
 #include <xercesc/util/RefHashTableOf.hpp>
 #include <xqilla/simple-api/XQQuery.hpp>


Index: xqilla10.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xqilla10/devel/xqilla10.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- xqilla10.spec	26 Feb 2009 11:58:20 -0000	1.8
+++ xqilla10.spec	13 Apr 2009 14:04:57 -0000	1.9
@@ -1,14 +1,14 @@
 %define _unpackaged_files_terminate_build  1
 %define _missing_doc_files_terminate_build 1
 
-%define xqilla_release 5
+%define xqilla_release 6
 %define xercesc_dir xerces-c-src_2_8_0
 
 Name: xqilla10
 Summary: XQilla is an XQuery and XPath 2.0 library, built on top of Xerces-C
 Group: System Environment/Libraries
 Version: 1.0.2
-Release: %{xqilla_release}%{?dist}.1
+Release: %{xqilla_release}%{?dist}
 License: BSD
 URL: http://xqilla.sourceforge.net/HomePage
 Source0: http://downloads.sourceforge.net/xqilla/XQilla-%{version}.tar.gz
@@ -23,6 +23,7 @@
 Patch1:	xqilla10-10-namespace.patch
 Patch2: xqilla10-cstring.patch
 Patch3: xqilla10-xercesc-attributes.patch
+Patch4: xqilla10-cstdio.patch
 
 %define xercesc_build_root %{_builddir}/%{xercesc_dir}
 
@@ -49,6 +50,7 @@
 %patch1
 %patch2
 %patch3
+%patch4
 
 %build
 rm -f aclocal.m4
@@ -94,6 +96,9 @@
 %{_includedir}/xqilla10
 
 %changelog
+* Mon Apr 13 2009 Robert Scheck <robert at fedoraproject.org> - 1.0.2-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> - 1.0.2-5.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list