[Lunar-commits] <moonbase> xbase: Fixing a few build/make failures.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun May 30 03:33:26 CEST 2010


commit 5949e0bab9de83440eeddbaf2762766a46cdc9b1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat May 29 21:33:26 2010 -0400

    xbase: Fixing a few build/make failures.
---
 sql/xbase/BUILD   |    7 ++++++-
 sql/xbase/DETAILS |    1 +
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/sql/xbase/BUILD b/sql/xbase/BUILD
index e04f9a1..651578d 100644
--- a/sql/xbase/BUILD
+++ b/sql/xbase/BUILD
@@ -1,6 +1,11 @@
 (
 
-  sedit "s|xbNtx::||" xbase/ntx.h
+  sedit "s|xbNtx::||" xbase/ntx.h &&
+
+# Fixes a name space problem.
+  sed -i "60i using namespace std;" xbase/xbstring.h &&
+# Fixes a depreciated iostream header use.
+  sedit "s:iostream.h:iostream:" xbase/xbstring.h xbase/dbf.h xbase/ndx.cpp xbase/stack.cpp&&
 
   cp /usr/share/automake/config.sub $SOURCE_DIRECTORY &&
 
diff --git a/sql/xbase/DETAILS b/sql/xbase/DETAILS
index 128bf19..fe36505 100644
--- a/sql/xbase/DETAILS
+++ b/sql/xbase/DETAILS
@@ -8,6 +8,7 @@
       UPDATED=20060205
         SHORT="DBF (dBase and other) database files, NDX (dbase) and NTX, and DBT formats"
 
+PSAFE=no
 cat << EOF
 What we have here is not only a C++ class library compatible with older .dbf,
 .ndx and .ntx files, and various utilities, but a viable database development


More information about the Lunar-commits mailing list