summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-01-10 19:04:23 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-01-10 19:04:23 +0000
commit14b306c7c3f0407f6764ce084cceb61cd71e69a6 (patch)
treea88afb5b22e940b58845719b0517f52eb630ef81 /dev-db/xbase
parentVersion bump (diff)
downloadhistorical-14b306c7c3f0407f6764ce084cceb61cd71e69a6.tar.gz
historical-14b306c7c3f0407f6764ce084cceb61cd71e69a6.tar.bz2
historical-14b306c7c3f0407f6764ce084cceb61cd71e69a6.zip
Add patch from Fedora to fix compilation with gcc-4.3; bug #250782
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.27.1 x86_64
Diffstat (limited to 'dev-db/xbase')
-rw-r--r--dev-db/xbase/ChangeLog8
-rw-r--r--dev-db/xbase/Manifest15
-rw-r--r--dev-db/xbase/files/xbase-2.0.0-gcc43.patch573
-rw-r--r--dev-db/xbase/xbase-2.0.0.ebuild13
4 files changed, 602 insertions, 7 deletions
diff --git a/dev-db/xbase/ChangeLog b/dev-db/xbase/ChangeLog
index b625fe61c7f8..22f2fce0efa8 100644
--- a/dev-db/xbase/ChangeLog
+++ b/dev-db/xbase/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/xbase
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/ChangeLog,v 1.18 2008/11/21 16:39:24 coldwind Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/ChangeLog,v 1.19 2009/01/10 19:04:23 halcy0n Exp $
+
+ 10 Jan 2009; Mark Loeser <halcy0n@gentoo.org>
+ +files/xbase-2.0.0-gcc43.patch, xbase-2.0.0.ebuild:
+ Add patch from Fedora to fix compilation with gcc-4.3; bug #250782
21 Nov 2008; Santiago M. Mola <coldwind@gentoo.org> xbase-2.0.0.ebuild:
Block media-tv/linuxtv-dvb-apps, bug #208596.
diff --git a/dev-db/xbase/Manifest b/dev-db/xbase/Manifest
index 6e42f2304143..e8b3a7b7a9e6 100644
--- a/dev-db/xbase/Manifest
+++ b/dev-db/xbase/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX xbase-2.0.0-gcc43.patch 16720 RMD160 5a6bb898c79103e7e229030f34d5296b6a988cc6 SHA1 324f275e4f6fb4710dc204af7c8fae7f099d570f SHA256 49367d9986b3032b2dce7c9427c8941b7073d49d358a8b731cabea5460c8e958
DIST xbase-2.0.0.tgz 493106 RMD160 577394ce21abc92df11127216f4199ec47549ce2 SHA1 11188393f2390a6b2765c1bf81faf95a8587e1e0 SHA256 4aa8aad84157422124a99a457863d52e4e9753656614dcdc67a6300a4a14bc90
-EBUILD xbase-2.0.0.ebuild 895 RMD160 79d58f8505d4546d968941d9a21cfdfbdcd7cdb5 SHA1 21c31c8eaedc8229bbc9da9058ccb66cec2e6836 SHA256 f238d31da1ba19ba5ebccecffd5bff3d3dae5043abb6534526675ccf25b1e40c
-MISC ChangeLog 1824 RMD160 762be78b38b6647796a20b769f6e509afd01373f SHA1 b192472aaa9ea3f3cbb5c5f30d93348253a43984 SHA256 a929c097ecfb4767652c1124d12cfeaa6390b051bbbdc280c54830d61abd9536
+EBUILD xbase-2.0.0.ebuild 983 RMD160 f87422d1d9eedd3cade3a65ced692d33189a12a3 SHA1 ed61a88d9b69299d11b043969340a4b9a9459656 SHA256 b76a7ce03402a8a62521910615b156fa7e43ef7006351bd660321ee6c8cecbe2
+MISC ChangeLog 1995 RMD160 9509b9edde4e32a78abcd085ca974d9509c46a8f SHA1 1a1dc261abd171334ec9a5d7e5573e93babed7ae SHA256 7a72ac6689a65d5ecc402ab9f1f8cbec5bafb017d424fb7315f17efbe7fd59e4
MISC metadata.xml 221 RMD160 c08d57bf5bb9110d90f3d4bae07a87b662add92a SHA1 083b4c4186b97766a77a282179eb387403ffbd71 SHA256 2effb4fe4513bd8d65e088ec41cd470c52003e4b66feb7cf7a5247aaa894345f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklo8UEACgkQCRZPokWLroQ1kgCfTax8M6vrE1BdA8IYgo5TYQyT
+eMsAnieRYkxZnnksnkOmPmi4ZAx1DwP8
+=3aCb
+-----END PGP SIGNATURE-----
diff --git a/dev-db/xbase/files/xbase-2.0.0-gcc43.patch b/dev-db/xbase/files/xbase-2.0.0-gcc43.patch
new file mode 100644
index 000000000000..933682a2cb49
--- /dev/null
+++ b/dev-db/xbase/files/xbase-2.0.0-gcc43.patch
@@ -0,0 +1,573 @@
+diff -up xbase-2.0.0/xbase/xbstring.h.gcc43 xbase-2.0.0/xbase/xbstring.h
+--- xbase-2.0.0/xbase/xbstring.h.gcc43 2001-01-27 06:00:32.000000000 +0100
++++ xbase-2.0.0/xbase/xbstring.h 2008-03-11 20:21:20.000000000 +0100
+@@ -56,7 +56,7 @@
+ #endif
+
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+
+ /*! \file xbstring.h
+ */
+@@ -119,7 +119,7 @@ public:
+ bool operator <= ( const xbString& ) const;
+ bool operator >= ( const xbString& ) const;
+
+- friend ostream& operator << ( ostream&, const xbString& );
++ friend std::ostream& operator << ( std::ostream&, const xbString& );
+
+ xbString &remove(size_t pos = 0, int n = npos);
+ xbString mid(size_t pos = 0, int n = npos) const;
+diff -up xbase-2.0.0/xbase/dbf.cpp.gcc43 xbase-2.0.0/xbase/dbf.cpp
+--- xbase-2.0.0/xbase/dbf.cpp.gcc43 2008-03-11 20:24:01.000000000 +0100
++++ xbase-2.0.0/xbase/dbf.cpp 2008-03-11 20:25:01.000000000 +0100
+@@ -79,6 +79,9 @@
+
+ #include <xbase/xbexcept.h>
+
++using std::cout;
++using std::endl;
++
+ /*! \file dbf.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/xbstring.cpp.gcc43 xbase-2.0.0/xbase/xbstring.cpp
+--- xbase-2.0.0/xbase/xbstring.cpp.gcc43 2008-03-11 20:33:00.000000000 +0100
++++ xbase-2.0.0/xbase/xbstring.cpp 2008-03-11 20:33:00.000000000 +0100
+@@ -582,7 +582,7 @@ bool xbString::operator>=( const xbStrin
+ //! Short description.
+ /*!
+ */
+-XBDLLEXPORT ostream& operator << ( ostream& os, const xbString& xbs ) {
++XBDLLEXPORT std::ostream& operator << ( std::ostream& os, const xbString& xbs ) {
+ return os << xbs.data;
+ }
+
+diff -up xbase-2.0.0/xbase/exp.cpp.gcc43 xbase-2.0.0/xbase/exp.cpp
+--- xbase-2.0.0/xbase/exp.cpp.gcc43 2008-03-11 20:23:54.000000000 +0100
++++ xbase-2.0.0/xbase/exp.cpp 2008-03-11 20:24:30.000000000 +0100
+@@ -64,6 +64,8 @@
+
+ #include <xbase/xbexcept.h>
+
++using std::cout;
++
+ /*! \file exp.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/html.cpp.gcc43 xbase-2.0.0/xbase/html.cpp
+--- xbase-2.0.0/xbase/html.cpp.gcc43 2008-03-11 20:27:18.000000000 +0100
++++ xbase-2.0.0/xbase/html.cpp 2008-03-11 20:28:56.000000000 +0100
+@@ -68,6 +68,9 @@
+
+ #include <xbase/xbexcept.h>
+
++using std::cout;
++using std::endl;
++
+ /*! \file html.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/ntx.cpp.gcc43 xbase-2.0.0/xbase/ntx.cpp
+--- xbase-2.0.0/xbase/ntx.cpp.gcc43 2008-03-11 20:33:48.000000000 +0100
++++ xbase-2.0.0/xbase/ntx.cpp 2008-03-11 20:33:59.000000000 +0100
+@@ -75,6 +75,9 @@
+
+ #include <xbase/xbexcept.h>
+
++using std::cout;
++using std::endl;
++
+ /*! \file ntx.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/xbase.cpp.gcc43 xbase-2.0.0/xbase/xbase.cpp
+--- xbase-2.0.0/xbase/xbase.cpp.gcc43 2008-03-11 20:32:08.000000000 +0100
++++ xbase-2.0.0/xbase/xbase.cpp 2008-03-11 20:32:08.000000000 +0100
+@@ -62,6 +62,9 @@
+
+ #include <xbase/xbexcept.h>
+
++using std::cout;
++using std::endl;
++
+ /*! \file xbase.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/stack.cpp.gcc43 xbase-2.0.0/xbase/stack.cpp
+--- xbase-2.0.0/xbase/stack.cpp.gcc43 2000-11-10 20:04:17.000000000 +0100
++++ xbase-2.0.0/xbase/stack.cpp 2008-03-11 20:31:16.000000000 +0100
+@@ -59,10 +59,12 @@
+
+ #include <string.h>
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+
+ #include <xbase/xstack.h>
+
++using std::cout;
++
+ /*! \file stack.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/ndx.cpp.gcc43 xbase-2.0.0/xbase/ndx.cpp
+--- xbase-2.0.0/xbase/ndx.cpp.gcc43 2001-03-21 01:28:53.000000000 +0100
++++ xbase-2.0.0/xbase/ndx.cpp 2008-03-11 20:21:20.000000000 +0100
+@@ -66,7 +66,9 @@
+ #endif
+
+ #include <xbase/xbase.h>
+-#include <iostream.h>
++#include <iostream>
++
++using std::cout;
+
+ #ifdef XB_INDEX_NDX
+
+diff -up xbase-2.0.0/xbase/expfunc.cpp.gcc43 xbase-2.0.0/xbase/expfunc.cpp
+--- xbase-2.0.0/xbase/expfunc.cpp.gcc43 2008-03-11 20:26:54.000000000 +0100
++++ xbase-2.0.0/xbase/expfunc.cpp 2008-03-11 20:26:54.000000000 +0100
+@@ -64,6 +64,7 @@
+ #include <xbase/exp.h>
+ #include <xbase/xbexcept.h>
+
++using std::cout;
+
+ /*! \file expfunc.cpp
+ */
+diff -up xbase-2.0.0/xbase/memo.cpp.gcc43 xbase-2.0.0/xbase/memo.cpp
+--- xbase-2.0.0/xbase/memo.cpp.gcc43 2008-03-11 20:30:29.000000000 +0100
++++ xbase-2.0.0/xbase/memo.cpp 2008-03-11 20:30:40.000000000 +0100
+@@ -59,6 +59,8 @@
+ #include <stdio.h>
+ #include <xbase/xbexcept.h>
+
++using std::cout;
++
+ /*! \file memo.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/xbfilter.cpp.gcc43 xbase-2.0.0/xbase/xbfilter.cpp
+--- xbase-2.0.0/xbase/xbfilter.cpp.gcc43 2008-03-11 20:34:21.000000000 +0100
++++ xbase-2.0.0/xbase/xbfilter.cpp 2008-03-11 20:34:25.000000000 +0100
+@@ -60,6 +60,9 @@
+ #include <xbase/xbase.h>
+ #include <xbase/xbexcept.h>
+
++using std::cout;
++using std::endl;
++
+ /*! \file xbfilter.cpp
+ */
+
+diff -up xbase-2.0.0/xbase/html.h.gcc43 xbase-2.0.0/xbase/html.h
+--- xbase-2.0.0/xbase/html.h.gcc43 2008-03-11 20:25:52.000000000 +0100
++++ xbase-2.0.0/xbase/html.h 2008-03-11 20:26:22.000000000 +0100
+@@ -66,6 +66,8 @@
+
+ #include <xbase/xtypes.h>
+
++#include <iostream>
++
+ /*! \file html.h
+ */
+
+@@ -92,28 +94,28 @@ public:
+ //! Short description.
+ /*!
+ */
+- void BoldOff( void ) { cout << "</b>\n"; };
++ void BoldOff( void ) { std::cout << "</b>\n"; };
+ //! Short description.
+ /*!
+ */
+- void BoldOn( void ) { cout << "<b>"; };
++ void BoldOn( void ) { std::cout << "<b>"; };
+ //! Short description.
+ /*!
+ */
+- void Bullet( void ) { cout << "<li>"; };
++ void Bullet( void ) { std::cout << "<li>"; };
+ void DumpArray( void );
+ //! Short description.
+ /*!
+ */
+- void EmphasizeOff( void ) { cout << "</em>\n"; };
++ void EmphasizeOff( void ) { std::cout << "</em>\n"; };
+ //! Short description.
+ /*!
+ */
+- void EmphasizeOn( void ) { cout << "<em>"; };
++ void EmphasizeOn( void ) { std::cout << "<em>"; };
+ //! Short description.
+ /*!
+ */
+- void EndHtmlPage( void ) { cout << "</BODY>\n</HTML>\n"; }
++ void EndHtmlPage( void ) { std::cout << "</BODY>\n</HTML>\n"; }
+ xbShort GenFormFields(xbDbf *d, xbShort Option,const char * Title,xbFieldList *fl);
+ xbShort GetArrayNo( const char * FieldName );
+ const char * GetCookie( const char *CookieName );
+@@ -124,47 +126,47 @@ public:
+ //! Short description.
+ /*!
+ */
+- void HeaderOff( xbShort i ){ cout << "</h" << i << ">\n"; };
++ void HeaderOff( xbShort i ){ std::cout << "</h" << i << ">\n"; };
+ //! Short description.
+ /*!
+ */
+- void HeaderOn( xbShort i ){ cout << "<h" << i << ">\n"; };
++ void HeaderOn( xbShort i ){ std::cout << "<h" << i << ">\n"; };
+ //! Short description.
+ /*!
+ */
+- void ItalicOff( void ) { cout << "</i>\n"; };
++ void ItalicOff( void ) { std::cout << "</i>\n"; };
+ //! Short description.
+ /*!
+ */
+- void ItalicOn( void ) { cout << "<i>"; };
++ void ItalicOn( void ) { std::cout << "<i>"; };
+ //! Short description.
+ /*!
+ */
+- void NewLine( void ) { cout << "<br>"; }
++ void NewLine( void ) { std::cout << "<br>"; }
+ xbShort PostMethod( void );
+ void PrintEncodedChar( char );
+ void PrintEncodedString( const char *s );
+ //! Short description.
+ /*!
+ */
+- void PrintHtml( char * s ) { cout << s; };
++ void PrintHtml( char * s ) { std::cout << s; };
+ //! Short description.
+ /*!
+ */
+- void PrintHtml( xbLong l ) { cout << l; };
++ void PrintHtml( xbLong l ) { std::cout << l; };
+ //! Short description.
+ /*!
+ */
+- void PrintHtml( xbShort i ) { cout << i; };
++ void PrintHtml( xbShort i ) { std::cout << i; };
+ //! Short description.
+ /*!
+ */
+- void PrintHtml( int i ) { cout << i; };
++ void PrintHtml( int i ) { std::cout << i; };
+ void StartHtmlPage( const char *Title );
+ //! Short description.
+ /*!
+ */
+- void StartTextPage( void ) { cout << "Content-type: text/plain\n\n"; }
++ void StartTextPage( void ) { std::cout << "Content-type: text/plain\n\n"; }
+ void TextOut( const char *String );
+ xbLong Tally( const char *FileName );
+ xbShort SetCookie(const char *Name, const char *Value, const char *ExpDate,
+diff -up xbase-2.0.0/xbase/dbf.h.gcc43 xbase-2.0.0/xbase/dbf.h
+--- xbase-2.0.0/xbase/dbf.h.gcc43 2001-01-13 21:20:53.000000000 +0100
++++ xbase-2.0.0/xbase/dbf.h 2008-03-11 20:21:20.000000000 +0100
+@@ -65,7 +65,6 @@
+ #include <xbase/xtypes.h>
+ #include <xbase/xdate.h>
+
+-#include <iostream.h>
+ #include <stdio.h>
+
+ /*! \file dbf.h
+diff -up xbase-2.0.0/examples/sample1.cpp.gcc43 xbase-2.0.0/examples/sample1.cpp
+--- xbase-2.0.0/examples/sample1.cpp.gcc43 2008-03-11 20:35:01.000000000 +0100
++++ xbase-2.0.0/examples/sample1.cpp 2008-03-11 20:36:40.000000000 +0100
+@@ -47,6 +47,8 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++
+ /* set the stack large for dos compiles */
+ #ifdef __XBDOS
+ #include <stdio.h>
+diff -up xbase-2.0.0/examples/sample2.cpp.gcc43 xbase-2.0.0/examples/sample2.cpp
+--- xbase-2.0.0/examples/sample2.cpp.gcc43 2008-03-11 20:36:03.000000000 +0100
++++ xbase-2.0.0/examples/sample2.cpp 2008-03-11 20:36:41.000000000 +0100
+@@ -53,6 +53,8 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++
+ /* set the stack large for dos compiles */
+ #ifdef __XBDOS
+ #include <stdio.h>
+diff -up xbase-2.0.0/examples/sample5.cpp.gcc43 xbase-2.0.0/examples/sample5.cpp
+--- xbase-2.0.0/examples/sample5.cpp.gcc43 2008-03-11 20:36:36.000000000 +0100
++++ xbase-2.0.0/examples/sample5.cpp 2008-03-11 20:36:40.000000000 +0100
+@@ -45,6 +45,8 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++
+ /* set the stack large for dos compiles */
+ #ifdef __XBDOS
+ #include <stdio.h>
+diff -up xbase-2.0.0/examples/sample4.cpp.gcc43 xbase-2.0.0/examples/sample4.cpp
+--- xbase-2.0.0/examples/sample4.cpp.gcc43 2008-03-11 20:36:25.000000000 +0100
++++ xbase-2.0.0/examples/sample4.cpp 2008-03-11 20:36:47.000000000 +0100
+@@ -51,6 +51,8 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++
+ #ifdef __XBDOS
+ #include <stdio.h>
+ extern unsigned _stklen = 100000;
+diff -up xbase-2.0.0/examples/exfilter.cpp.gcc43 xbase-2.0.0/examples/exfilter.cpp
+--- xbase-2.0.0/examples/exfilter.cpp.gcc43 2008-03-11 20:37:14.000000000 +0100
++++ xbase-2.0.0/examples/exfilter.cpp 2008-03-11 20:37:28.000000000 +0100
+@@ -50,6 +50,8 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
+
+ int main()
+ {
+diff -up xbase-2.0.0/examples/sample3.cpp.gcc43 xbase-2.0.0/examples/sample3.cpp
+--- xbase-2.0.0/examples/sample3.cpp.gcc43 2008-03-11 20:36:10.000000000 +0100
++++ xbase-2.0.0/examples/sample3.cpp 2008-03-11 20:36:46.000000000 +0100
+@@ -54,6 +54,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ /* set the stack large for dos compiles */
+ #ifdef __XBDOS
+ #include <stdio.h>
+diff -up xbase-2.0.0/bin/undelall.cpp.gcc43 xbase-2.0.0/bin/undelall.cpp
+--- xbase-2.0.0/bin/undelall.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/undelall.cpp 2008-03-11 20:40:33.000000000 +0100
+@@ -45,6 +45,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main(int ac,char** av)
+ {
+ if (ac <= 1) {
+diff -up xbase-2.0.0/bin/checkndx.cpp.gcc43 xbase-2.0.0/bin/checkndx.cpp
+--- xbase-2.0.0/bin/checkndx.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/checkndx.cpp 2008-03-11 20:40:29.000000000 +0100
+@@ -45,6 +45,8 @@
+
+ #include "xbase/xbase.h"
+
++using std::cout;
++
+ int main(int ac,char** av)
+ {
+ #ifdef XBASE_DEBUG
+diff -up xbase-2.0.0/bin/packdbf.cpp.gcc43 xbase-2.0.0/bin/packdbf.cpp
+--- xbase-2.0.0/bin/packdbf.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/packdbf.cpp 2008-03-11 20:40:32.000000000 +0100
+@@ -46,6 +46,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main(int ac,char** av)
+ {
+ if (ac <= 1) {
+diff -up xbase-2.0.0/bin/zap.cpp.gcc43 xbase-2.0.0/bin/zap.cpp
+--- xbase-2.0.0/bin/zap.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/zap.cpp 2008-03-11 20:40:33.000000000 +0100
+@@ -45,6 +45,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main(int ac,char** av)
+ {
+ if (ac <= 1) {
+diff -up xbase-2.0.0/bin/reindex.cpp.gcc43 xbase-2.0.0/bin/reindex.cpp
+--- xbase-2.0.0/bin/reindex.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/reindex.cpp 2008-03-11 20:40:32.000000000 +0100
+@@ -47,6 +47,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ static void
+ showStatus(xbLong itemNum, xbLong numItems)
+ {
+diff -up xbase-2.0.0/bin/copydbf.cpp.gcc43 xbase-2.0.0/bin/copydbf.cpp
+--- xbase-2.0.0/bin/copydbf.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/copydbf.cpp 2008-03-11 20:40:29.000000000 +0100
+@@ -44,6 +44,8 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++
+ int main(int ac,char** av)
+ {
+ if (3 != ac) {
+diff -up xbase-2.0.0/bin/deletall.cpp.gcc43 xbase-2.0.0/bin/deletall.cpp
+--- xbase-2.0.0/bin/deletall.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/deletall.cpp 2008-03-11 20:40:30.000000000 +0100
+@@ -45,6 +45,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main(int ac,char** av)
+ {
+ if (ac <= 1) {
+diff -up xbase-2.0.0/bin/dumphdr.cpp.gcc43 xbase-2.0.0/bin/dumphdr.cpp
+--- xbase-2.0.0/bin/dumphdr.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/dumphdr.cpp 2008-03-11 20:40:31.000000000 +0100
+@@ -47,6 +47,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main( int ac, char ** av )
+ {
+ #ifdef XBASE_DEBUG
+diff -up xbase-2.0.0/bin/dumprecs.cpp.gcc43 xbase-2.0.0/bin/dumprecs.cpp
+--- xbase-2.0.0/bin/dumprecs.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/dumprecs.cpp 2008-03-11 20:40:31.000000000 +0100
+@@ -52,6 +52,9 @@
+ #include <xbase/xbexcept.h>
+ #endif
+
++using std::cout;
++using std::endl;
++
+ int main(int ac,char** av)
+ {
+ if (ac <= 1) {
+diff -up xbase-2.0.0/bin/dumpdbt.cpp.gcc43 xbase-2.0.0/bin/dumpdbt.cpp
+--- xbase-2.0.0/bin/dumpdbt.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/dumpdbt.cpp 2008-03-11 20:40:31.000000000 +0100
+@@ -47,6 +47,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main( int ac, char **av )
+ {
+ #ifdef XB_MEMO_FIELDS
+diff -up xbase-2.0.0/bin/dbfxtrct.cpp.gcc43 xbase-2.0.0/bin/dbfxtrct.cpp
+--- xbase-2.0.0/bin/dbfxtrct.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/dbfxtrct.cpp 2008-03-11 20:40:30.000000000 +0100
+@@ -47,6 +47,9 @@
+
+ #include "xbase/xbase.h"
+
++using std::cout;
++using std::endl;
++
+ /*************************************************************************/
+ void Usage();
+ void Usage()
+diff -up xbase-2.0.0/bin/dbfutil1.cpp.gcc43 xbase-2.0.0/bin/dbfutil1.cpp
+--- xbase-2.0.0/bin/dbfutil1.cpp.gcc43 2008-03-11 20:39:22.000000000 +0100
++++ xbase-2.0.0/bin/dbfutil1.cpp 2008-03-11 20:41:22.000000000 +0100
+@@ -42,6 +42,10 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::cin;
++using std::endl;
++
+ xbXBase x;
+ xbDbf d( &x );
+ xbIndex *ix;
+diff -up xbase-2.0.0/libtest/indextst.cpp.gcc43 xbase-2.0.0/libtest/indextst.cpp
+--- xbase-2.0.0/libtest/indextst.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
++++ xbase-2.0.0/libtest/indextst.cpp 2008-03-11 20:42:30.000000000 +0100
+@@ -31,6 +31,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ /* set the stack large for dos compiles */
+ #ifdef __XBDOS
+ #include <stdio.h>
+diff -up xbase-2.0.0/libtest/exptest.cpp.gcc43 xbase-2.0.0/libtest/exptest.cpp
+--- xbase-2.0.0/libtest/exptest.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
++++ xbase-2.0.0/libtest/exptest.cpp 2008-03-11 20:42:30.000000000 +0100
+@@ -27,6 +27,9 @@
+
+ #include "xbase/xbase.h"
+
++using std::cout;
++using std::endl;
++
+ class ExpTestor{
+ public:
+ ExpTestor( xbDbf * );
+diff -up xbase-2.0.0/libtest/locktest.cpp.gcc43 xbase-2.0.0/libtest/locktest.cpp
+--- xbase-2.0.0/libtest/locktest.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
++++ xbase-2.0.0/libtest/locktest.cpp 2008-03-11 20:42:31.000000000 +0100
+@@ -7,6 +7,9 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
++using std::cout;
++using std::endl;
++
+ int main(int, char**)
+ {
+ #if 0 // FIXME - seriously
+diff -up xbase-2.0.0/libtest/testdate.cpp.gcc43 xbase-2.0.0/libtest/testdate.cpp
+--- xbase-2.0.0/libtest/testdate.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
++++ xbase-2.0.0/libtest/testdate.cpp 2008-03-11 20:42:32.000000000 +0100
+@@ -56,6 +56,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main()
+ {
+ xbString StringDate( "19601007" ); /* oct 7 1960 */
+diff -up xbase-2.0.0/libtest/testhtml.cpp.gcc43 xbase-2.0.0/libtest/testhtml.cpp
+--- xbase-2.0.0/libtest/testhtml.cpp.gcc43 2008-03-11 20:41:46.000000000 +0100
++++ xbase-2.0.0/libtest/testhtml.cpp 2008-03-11 20:42:33.000000000 +0100
+@@ -48,6 +48,9 @@
+
+ #include <xbase/xbase.h>
+
++using std::cout;
++using std::endl;
++
+ int main()
+ {
+ #ifdef XB_HTML
diff --git a/dev-db/xbase/xbase-2.0.0.ebuild b/dev-db/xbase/xbase-2.0.0.ebuild
index 52f9385f6dd4..7678080b39e4 100644
--- a/dev-db/xbase/xbase-2.0.0.ebuild
+++ b/dev-db/xbase/xbase-2.0.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/xbase-2.0.0.ebuild,v 1.17 2008/11/21 16:39:24 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/xbase-2.0.0.ebuild,v 1.18 2009/01/10 19:04:23 halcy0n Exp $
-inherit base
+inherit base eutils
DESCRIPTION="XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library"
HOMEPAGE="http://www.rekallrevealed.org/"
@@ -19,6 +19,13 @@ DEPEND="${DEPEND}
sys-devel/automake
sys-devel/libtool"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_install() {
base_src_install
dodoc AUTHORS COPYING Changelog INSTALL NEWS README TODO