diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-06-30 13:41:45 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-06-30 13:41:45 +0000 |
commit | caab467fe53494cc25d7ae5418f4e809751feaa1 (patch) | |
tree | 34c97308428b0cc62c0d501c6347c1a042c53cf4 /dev-db/xbase | |
parent | version bump (diff) | |
download | gentoo-2-caab467fe53494cc25d7ae5418f4e809751feaa1.tar.gz gentoo-2-caab467fe53494cc25d7ae5418f4e809751feaa1.tar.bz2 gentoo-2-caab467fe53494cc25d7ae5418f4e809751feaa1.zip |
dev-db/xbase: Version BUmp, add all fixes from fedora including gcc-4.7 compatibility
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/xbase')
-rw-r--r-- | dev-db/xbase/ChangeLog | 16 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-2.0.0-fixconfig.patch | 11 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-2.0.0-fixheader.patch | 11 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-2.0.0-gcc47.patch | 21 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-2.0.0-ppc.patch | 20 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-2.0.0-x86_64.patch | 12 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-3.1.2-fixconfig.patch | 12 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-3.1.2-gcc-version.patch | 16 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-3.1.2-gcc44.patch | 24 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-3.1.2-gcc47.patch | 21 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-3.1.2-lesserg.patch | 294 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-3.1.2-outofsource.patch | 52 | ||||
-rw-r--r-- | dev-db/xbase/files/xbase-3.1.2-xbnode.patch | 9 | ||||
-rw-r--r-- | dev-db/xbase/metadata.xml | 6 | ||||
-rw-r--r-- | dev-db/xbase/xbase-2.0.0-r2.ebuild | 49 | ||||
-rw-r--r-- | dev-db/xbase/xbase-2.0.0.ebuild | 8 | ||||
-rw-r--r-- | dev-db/xbase/xbase-3.1.2.ebuild | 47 |
17 files changed, 621 insertions, 8 deletions
diff --git a/dev-db/xbase/ChangeLog b/dev-db/xbase/ChangeLog index 1ccc9d4e195c..320f410aede9 100644 --- a/dev-db/xbase/ChangeLog +++ b/dev-db/xbase/ChangeLog @@ -1,6 +1,20 @@ # ChangeLog for dev-db/xbase # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/ChangeLog,v 1.26 2012/06/29 14:42:09 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/ChangeLog,v 1.27 2012/06/30 13:41:45 jlec Exp $ + +*xbase-3.1.2 (30 Jun 2012) +*xbase-2.0.0-r2 (30 Jun 2012) + + 30 Jun 2012; Justin Lecher <jlec@gentoo.org> xbase-2.0.0.ebuild, + +xbase-2.0.0-r2.ebuild, +files/xbase-2.0.0-fixconfig.patch, + +files/xbase-2.0.0-fixheader.patch, +files/xbase-2.0.0-gcc47.patch, + +files/xbase-2.0.0-ppc.patch, +files/xbase-2.0.0-x86_64.patch, + +xbase-3.1.2.ebuild, +files/xbase-3.1.2-fixconfig.patch, + +files/xbase-3.1.2-gcc-version.patch, +files/xbase-3.1.2-gcc44.patch, + +files/xbase-3.1.2-gcc47.patch, +files/xbase-3.1.2-lesserg.patch, + +files/xbase-3.1.2-outofsource.patch, +files/xbase-3.1.2-xbnode.patch, + metadata.xml: + Version BUmp, add all fixes from fedora including gcc-4.7 compatibility 29 Jun 2012; Jeroen Roovers <jer@gentoo.org> xbase-2.0.0-r1.ebuild: Stable for HPPA (bug #418673). diff --git a/dev-db/xbase/files/xbase-2.0.0-fixconfig.patch b/dev-db/xbase/files/xbase-2.0.0-fixconfig.patch new file mode 100644 index 000000000000..99a023976c6f --- /dev/null +++ b/dev-db/xbase/files/xbase-2.0.0-fixconfig.patch @@ -0,0 +1,11 @@ +--- xbase-2.0.0/xbase-config.in.BAD 2005-07-10 08:38:03.000000000 -0500 ++++ xbase-2.0.0/xbase-config.in 2005-07-10 08:37:25.000000000 -0500 +@@ -5,7 +5,7 @@ + exec_prefix_set=no + CC="@CC@" + CXX="@CXX@" +-LD="@SHARED_LD@" ++LD="@LD@" + + usage="\ + Usage: xbase-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--cc] [--cxx] [--ld]" diff --git a/dev-db/xbase/files/xbase-2.0.0-fixheader.patch b/dev-db/xbase/files/xbase-2.0.0-fixheader.patch new file mode 100644 index 000000000000..fad32ac516f8 --- /dev/null +++ b/dev-db/xbase/files/xbase-2.0.0-fixheader.patch @@ -0,0 +1,11 @@ +--- xbase-2.0.0/xbase/ntx.h.BAD 2006-06-04 08:36:08.000000000 -0500 ++++ xbase-2.0.0/xbase/ntx.h 2006-06-04 08:36:13.000000000 -0500 +@@ -218,7 +218,7 @@ + xbShort KeyExists( char * Key ) { return FindKey( Key, strlen( Key ), 0 ); } + xbShort KeyExists( xbDouble ); + +- xbShort xbNtx::AllocKeyBufs(void); ++ xbShort AllocKeyBufs(void); + + virtual void GetExpression(char *buf, int len); + }; diff --git a/dev-db/xbase/files/xbase-2.0.0-gcc47.patch b/dev-db/xbase/files/xbase-2.0.0-gcc47.patch new file mode 100644 index 000000000000..74829e2c5d4e --- /dev/null +++ b/dev-db/xbase/files/xbase-2.0.0-gcc47.patch @@ -0,0 +1,21 @@ + bin/dumprecs.cpp | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/bin/dumprecs.cpp b/bin/dumprecs.cpp +index 94baab0..b7eaa57 100644 +--- a/bin/dumprecs.cpp ++++ b/bin/dumprecs.cpp +@@ -80,10 +80,10 @@ int main(int ac,char** av) + } + + cout << "\nLoop through forwards...\n"; +- int i = 0; ++ int j = 0; + while(i<MyFile.NoOfRecords()) { +- MyFile.DumpRecord(i+1); +- i++; ++ MyFile.DumpRecord(j+1); ++ j++; + } + + MyFile.CloseDatabase(); /* close database */ diff --git a/dev-db/xbase/files/xbase-2.0.0-ppc.patch b/dev-db/xbase/files/xbase-2.0.0-ppc.patch new file mode 100644 index 000000000000..3b743a9fd0ae --- /dev/null +++ b/dev-db/xbase/files/xbase-2.0.0-ppc.patch @@ -0,0 +1,20 @@ +--- xbase-2.0.0/ltconfig.foo 2007-05-04 18:14:42.000000000 -0400 ++++ xbase-2.0.0/ltconfig 2007-05-04 18:15:39.000000000 -0400 +@@ -1664,16 +1664,7 @@ linux-gnu*) + shlibpath_var=LD_LIBRARY_PATH + check_shared_deplibs_method='file_magic ELF 32-bit LSB shared object' + sys_lib_search_path="/lib /usr/lib /usr/local/lib `echo $LD_LIBRARY_PATH | sed -e 's/:/ /g'`" +- +- if test -f /lib/ld.so.1; then +- dynamic_linker='GNU ld.so' +- else +- # Only the GNU ld.so supports shared libraries on MkLinux. +- case "$host_cpu" in +- powerpc*) dynamic_linker=no ;; +- *) dynamic_linker='Linux ld.so' ;; +- esac +- fi ++ dynamic_linker='GNU ld.so' + ;; + + netbsd* | openbsd*) diff --git a/dev-db/xbase/files/xbase-2.0.0-x86_64.patch b/dev-db/xbase/files/xbase-2.0.0-x86_64.patch new file mode 100644 index 000000000000..56f1b7c6bda9 --- /dev/null +++ b/dev-db/xbase/files/xbase-2.0.0-x86_64.patch @@ -0,0 +1,12 @@ +diff -up xbase-2.0.0/config.sub.BAD xbase-2.0.0/config.sub +--- xbase-2.0.0/config.sub.BAD 2008-06-05 15:47:20.000000000 -0400 ++++ xbase-2.0.0/config.sub 2008-06-05 15:49:10.000000000 -0400 +@@ -182,7 +182,7 @@ case $basic_machine in + | sparc64-* | mips64-* | mipsel-* \ + | mips64el-* | mips64orion-* | mips64orionel-* \ + | mipstx39-* | mipstx39el-* \ +- | f301-*) ++ | f301-* | x86_64-* | ppc64-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. diff --git a/dev-db/xbase/files/xbase-3.1.2-fixconfig.patch b/dev-db/xbase/files/xbase-3.1.2-fixconfig.patch new file mode 100644 index 000000000000..2bfe92f8239a --- /dev/null +++ b/dev-db/xbase/files/xbase-3.1.2-fixconfig.patch @@ -0,0 +1,12 @@ +diff -up xbase64-3.1.2/xbase64-config.in.BAD xbase64-3.1.2/xbase64-config.in +--- xbase64-3.1.2/xbase64-config.in.BAD 2009-08-19 22:58:42.081087534 -0400 ++++ xbase64-3.1.2/xbase64-config.in 2009-08-19 22:58:45.604090002 -0400 +@@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@ + exec_prefix_set=no + CC="@CC@" + CXX="@CXX@" +-LD="@SHARED_LD@" ++LD="@LD@" + + usage="\ + Usage: xbase-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--cc] [--cxx] [--ld]" diff --git a/dev-db/xbase/files/xbase-3.1.2-gcc-version.patch b/dev-db/xbase/files/xbase-3.1.2-gcc-version.patch new file mode 100644 index 000000000000..3f0d209eec47 --- /dev/null +++ b/dev-db/xbase/files/xbase-3.1.2-gcc-version.patch @@ -0,0 +1,16 @@ + configure.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/configure.in b/configure.in +index 3110c70..5850231 100755 +--- a/configure.in ++++ b/configure.in +@@ -74,7 +74,7 @@ AC_SUBST(RHREL) + + # get G++ version + if test "$GXX" = "yes"; then +- GXXVER=`${CXX} -v 2>&1 | grep version | cut -d " " -f 3 -` ++ GXXVER=`${CXX} -v 2>&1 | grep " version " | cut -d " " -f 3 -` + GXXVER="gcc${GXXVER}" + else + GXXVER="" diff --git a/dev-db/xbase/files/xbase-3.1.2-gcc44.patch b/dev-db/xbase/files/xbase-3.1.2-gcc44.patch new file mode 100644 index 000000000000..d23c9f23d08f --- /dev/null +++ b/dev-db/xbase/files/xbase-3.1.2-gcc44.patch @@ -0,0 +1,24 @@ +diff -up xbase64-3.1.2/xbase64/xbase64.cpp.gcc44 xbase64-3.1.2/xbase64/xbase64.cpp +--- xbase64-3.1.2/xbase64/xbase64.cpp.gcc44 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbase64.cpp 2009-08-19 23:08:14.724079392 -0400 +@@ -66,6 +66,8 @@ + #include <dos.h> + #endif + ++#include <cerrno> ++ + + /*! \file xbase64.cpp + */ +diff -up xbase64-3.1.2/xbase64/xblock.cpp.gcc44 xbase64-3.1.2/xbase64/xblock.cpp +--- xbase64-3.1.2/xbase64/xblock.cpp.gcc44 2009-08-19 23:08:59.408186578 -0400 ++++ xbase64-3.1.2/xbase64/xblock.cpp 2009-08-19 23:09:11.416184844 -0400 +@@ -65,6 +65,8 @@ + //#include <stdio.h> + //#include <stdlib.h> + ++#include <cerrno> ++ + /*! \file xblock.cpp + */ + #ifdef XB_LOCKING_ON diff --git a/dev-db/xbase/files/xbase-3.1.2-gcc47.patch b/dev-db/xbase/files/xbase-3.1.2-gcc47.patch new file mode 100644 index 000000000000..7774251ed68d --- /dev/null +++ b/dev-db/xbase/files/xbase-3.1.2-gcc47.patch @@ -0,0 +1,21 @@ +diff -up xbase64-3.1.2/bin/dumprecs.cpp.gcc47 xbase64-3.1.2/bin/dumprecs.cpp +--- xbase64-3.1.2/bin/dumprecs.cpp.gcc47 2012-01-05 15:36:00.377536998 -0500 ++++ xbase64-3.1.2/bin/dumprecs.cpp 2012-01-05 15:36:15.198399295 -0500 +@@ -70,7 +70,7 @@ int main(int ac,char** av) + return 1; + } + +- for(int i=1; i<ac; ++i){ ++ for(int i=1; i<ac; ++i){{ + char* filename = av[i]; + + xbDbf MyFile( &x ); +@@ -91,7 +91,7 @@ int main(int ac,char** av) + x.DisplayError( rc ); + } + MyFile.CloseDatabase(); /* close database */ +- } ++ }} + return 0; + } + diff --git a/dev-db/xbase/files/xbase-3.1.2-lesserg.patch b/dev-db/xbase/files/xbase-3.1.2-lesserg.patch new file mode 100644 index 000000000000..b6eb71e0b618 --- /dev/null +++ b/dev-db/xbase/files/xbase-3.1.2-lesserg.patch @@ -0,0 +1,294 @@ +diff -up xbase64-3.1.2/xbase64/xbase64.cpp.lesserg xbase64-3.1.2/xbase64/xbase64.cpp +--- xbase64-3.1.2/xbase64/xbase64.cpp.lesserg 2012-01-05 15:31:01.695312436 -0500 ++++ xbase64-3.1.2/xbase64/xbase64.cpp 2012-01-05 15:31:01.717312232 -0500 +@@ -38,7 +38,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbase64.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbase64.h.lesserg xbase64-3.1.2/xbase64/xbase64.h +--- xbase64-3.1.2/xbase64/xbase64.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbase64.h 2012-01-05 15:31:01.718312223 -0500 +@@ -42,7 +42,7 @@ + #ifndef __XB_XBASE_H__ + #define __XB_XBASE_H__ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + +@@ -60,7 +60,7 @@ + // ripped from wxWindows + + // _declspec works in BC++ 5 and later, as well as VC++ +-#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__GNU LesserC__) ++#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__GNU_LesserC__) + # ifdef XBMAKINGDLL + # define XBDLLEXPORT __declspec( dllexport ) + # define XBDLLEXPORT_DATA(type) __declspec( dllexport ) type +diff -up xbase64-3.1.2/xbase64/xbcdx.h.lesserg xbase64-3.1.2/xbase64/xbcdx.h +--- xbase64-3.1.2/xbase64/xbcdx.h.lesserg 2012-01-05 15:32:17.398608985 -0500 ++++ xbase64-3.1.2/xbase64/xbcdx.h 2012-01-05 15:32:43.051370614 -0500 +@@ -50,7 +50,7 @@ struct CdxInnerNode: public CdxNode + {
+ char keys[500];
+ }
+-#ifdef __GNU LesserC__
++#ifdef __GNU_LesserC__
+ __attribute__((packed))
+ #endif
+ ;
+@@ -67,7 +67,7 @@ struct CdxLeafNode: public CdxNode + char byteCount;
+ char keys[488];
+ }
+-#ifdef __GNU LesserC__
++#ifdef __GNU_LesserC__
+ __attribute__((packed))
+ #endif
+ ;
+diff -up xbase64-3.1.2/xbase64/xbdate.cpp.lesserg xbase64-3.1.2/xbase64/xbdate.cpp +--- xbase64-3.1.2/xbase64/xbdate.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbdate.cpp 2012-01-05 15:31:01.719312213 -0500 +@@ -40,7 +40,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbdate.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbdate.h.lesserg xbase64-3.1.2/xbase64/xbdate.h +--- xbase64-3.1.2/xbase64/xbdate.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbdate.h 2012-01-05 15:31:01.721312195 -0500 +@@ -45,7 +45,7 @@ + #ifndef __XB_XBDATE_H__ + #define __XB_XBDATE_H__ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + +diff -up xbase64-3.1.2/xbase64/xbdbf.cpp.lesserg xbase64-3.1.2/xbase64/xbdbf.cpp +--- xbase64-3.1.2/xbase64/xbdbf.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbdbf.cpp 2012-01-05 15:31:01.722312185 -0500 +@@ -39,7 +39,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbdbf.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbdbf.h.lesserg xbase64-3.1.2/xbase64/xbdbf.h +--- xbase64-3.1.2/xbase64/xbdbf.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbdbf.h 2012-01-05 15:31:01.723312175 -0500 +@@ -41,7 +41,7 @@ + #ifndef __XB_DBF_H__ + #define __XB_DBF_H__ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + +diff -up xbase64-3.1.2/xbase64/xbexp.cpp.lesserg xbase64-3.1.2/xbase64/xbexp.cpp +--- xbase64-3.1.2/xbase64/xbexp.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbexp.cpp 2012-01-05 15:31:01.725312157 -0500 +@@ -38,7 +38,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbexp.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbexp.h.lesserg xbase64-3.1.2/xbase64/xbexp.h +--- xbase64-3.1.2/xbase64/xbexp.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbexp.h 2012-01-05 15:31:01.726312148 -0500 +@@ -42,7 +42,7 @@ + #ifndef __XB_EXP_H__ + #define __XB_EXP_H__ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + +diff -up xbase64-3.1.2/xbase64/xbfile.cpp.lesserg xbase64-3.1.2/xbase64/xbfile.cpp +--- xbase64-3.1.2/xbase64/xbfile.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbfile.cpp 2012-01-05 15:31:01.727312139 -0500 +@@ -39,7 +39,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbfile.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbfile.h.lesserg xbase64-3.1.2/xbase64/xbfile.h +--- xbase64-3.1.2/xbase64/xbfile.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbfile.h 2012-01-05 15:31:01.728312130 -0500 +@@ -45,7 +45,7 @@ + #ifndef __XB_FILE_H__
+ #define __XB_FILE_H__
+ +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + +diff -up xbase64-3.1.2/xbase64/xbfilter.cpp.lesserg xbase64-3.1.2/xbase64/xbfilter.cpp +--- xbase64-3.1.2/xbase64/xbfilter.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbfilter.cpp 2012-01-05 15:31:01.729312120 -0500 +@@ -38,7 +38,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbfilter.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbfilter.h.lesserg xbase64-3.1.2/xbase64/xbfilter.h +--- xbase64-3.1.2/xbase64/xbfilter.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbfilter.h 2012-01-05 15:31:01.731312101 -0500 +@@ -44,7 +44,7 @@ + #ifndef __XB_FILTER_H__ + #define __XB_FILTER_H__ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + +diff -up xbase64-3.1.2/xbase64/xbindex.cpp.lesserg xbase64-3.1.2/xbase64/xbindex.cpp +--- xbase64-3.1.2/xbase64/xbindex.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbindex.cpp 2012-01-05 15:31:01.732312092 -0500 +@@ -37,7 +37,7 @@ + USA + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbindex.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbindex.h.lesserg xbase64-3.1.2/xbase64/xbindex.h +--- xbase64-3.1.2/xbase64/xbindex.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbindex.h 2012-01-05 15:31:01.733312083 -0500 +@@ -43,7 +43,7 @@ + #ifndef __XB_INDEX_H__
+ #define __XB_INDEX_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xblock.cpp.lesserg xbase64-3.1.2/xbase64/xblock.cpp +--- xbase64-3.1.2/xbase64/xblock.cpp.lesserg 2012-01-05 15:31:01.696312427 -0500 ++++ xbase64-3.1.2/xbase64/xblock.cpp 2012-01-05 15:31:01.734312074 -0500 +@@ -42,7 +42,7 @@ + USA + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xblock.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xblock.h.lesserg xbase64-3.1.2/xbase64/xblock.h +--- xbase64-3.1.2/xbase64/xblock.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xblock.h 2012-01-05 15:31:01.735312065 -0500 +@@ -44,7 +44,7 @@ + #ifndef __XB_XBLOCK_H__ + #define __XB_XBLOCK_H__ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + +diff -up xbase64-3.1.2/xbase64/xbndx.cpp.lesserg xbase64-3.1.2/xbase64/xbndx.cpp +--- xbase64-3.1.2/xbase64/xbndx.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbndx.cpp 2012-01-05 15:31:01.737312045 -0500 +@@ -36,7 +36,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbndx.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbndx.h.lesserg xbase64-3.1.2/xbase64/xbndx.h +--- xbase64-3.1.2/xbase64/xbndx.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbndx.h 2012-01-05 15:31:01.738312036 -0500 +@@ -41,7 +41,7 @@ + #ifndef __XB_NDX_H__
+ #define __XB_NDX_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbntx.cpp.lesserg xbase64-3.1.2/xbase64/xbntx.cpp +--- xbase64-3.1.2/xbase64/xbntx.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbntx.cpp 2012-01-05 15:31:01.740312018 -0500 +@@ -40,7 +40,7 @@ + USA + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbntx.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbntx.h.lesserg xbase64-3.1.2/xbase64/xbntx.h +--- xbase64-3.1.2/xbase64/xbntx.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbntx.h 2012-01-05 15:31:01.741312009 -0500 +@@ -42,7 +42,7 @@ + #ifndef __XB_NTX_H__
+ #define __XB_NTX_H__
+
+-#ifdef __GNU LesserG__
++#ifdef __GNU_LesserG__
+ #pragma interface
+ #endif
+
+diff -up xbase64-3.1.2/xbase64/xbstring.cpp.lesserg xbase64-3.1.2/xbase64/xbstring.cpp +--- xbase64-3.1.2/xbase64/xbstring.cpp.lesserg 2006-07-17 12:54:42.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbstring.cpp 2012-01-05 15:31:01.742312000 -0500 +@@ -38,7 +38,7 @@ + + */ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma implementation "xbstring.h" + #endif + +diff -up xbase64-3.1.2/xbase64/xbstring.h.lesserg xbase64-3.1.2/xbase64/xbstring.h +--- xbase64-3.1.2/xbase64/xbstring.h.lesserg 2006-07-17 12:54:50.000000000 -0400 ++++ xbase64-3.1.2/xbase64/xbstring.h 2012-01-05 15:31:01.743311990 -0500 +@@ -41,7 +41,7 @@ + #ifndef __XBSTRING_H__ + #define __XBSTRING_H__ + +-#ifdef __GNU LesserG__ ++#ifdef __GNU_LesserG__ + #pragma interface + #endif + diff --git a/dev-db/xbase/files/xbase-3.1.2-outofsource.patch b/dev-db/xbase/files/xbase-3.1.2-outofsource.patch new file mode 100644 index 000000000000..87094a8b429a --- /dev/null +++ b/dev-db/xbase/files/xbase-3.1.2-outofsource.patch @@ -0,0 +1,52 @@ + bin/Makefile.am | 2 +- + examples/Makefile.am | 2 +- + libtest/Makefile.am | 2 +- + xbase64/Makefile.am | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/bin/Makefile.am b/bin/Makefile.am +index 43c8333..ca49ca1 100755 +--- a/bin/Makefile.am ++++ b/bin/Makefile.am +@@ -1,5 +1,5 @@ + +-INCLUDES= -I$(topdir) ++INCLUDES= -I$(top_srcdir) + LDADD = -L$(topdir)/xbase64 -lxbase64 + + INSTALL_PROGRAM = @INSTALL@ +diff --git a/examples/Makefile.am b/examples/Makefile.am +index 248b1ec..85adbf3 100755 +--- a/examples/Makefile.am ++++ b/examples/Makefile.am +@@ -1,5 +1,5 @@ + +-INCLUDES= -I$(topdir) $(all_includes) ++INCLUDES= -I$(top_srcdir) $(all_includes) + LDADD = -L$(topdir)/xbase64 -lxbase64 + + # for shadow passwords override the value +diff --git a/libtest/Makefile.am b/libtest/Makefile.am +index 9e84830..1b73af1 100755 +--- a/libtest/Makefile.am ++++ b/libtest/Makefile.am +@@ -1,5 +1,5 @@ + +-INCLUDES= -I$(topdir) ++INCLUDES= -I$(top_srcdir) + LDADD = -L$(topdir)/xbase64 -lxbase64 + + INSTALL_PROGRAM = @INSTALL@ +diff --git a/xbase64/Makefile.am b/xbase64/Makefile.am +index b0dff24..857aa82 100755 +--- a/xbase64/Makefile.am ++++ b/xbase64/Makefile.am +@@ -25,7 +25,7 @@ + # + # + +-INCLUDES = -I$(topdir) ++INCLUDES = -I$(top_srcdir) + + lib_LTLIBRARIES = libxbase64.la + diff --git a/dev-db/xbase/files/xbase-3.1.2-xbnode.patch b/dev-db/xbase/files/xbase-3.1.2-xbnode.patch new file mode 100644 index 000000000000..98488453cc84 --- /dev/null +++ b/dev-db/xbase/files/xbase-3.1.2-xbnode.patch @@ -0,0 +1,9 @@ +diff -up xbase64-3.1.2/xbase64/xbnode.cpp.BAD xbase64-3.1.2/xbase64/xbnode.cpp +--- xbase64-3.1.2/xbase64/xbnode.cpp.BAD 2009-08-19 23:10:38.444059289 -0400 ++++ xbase64-3.1.2/xbase64/xbnode.cpp 2009-08-19 23:10:47.348202984 -0400 +@@ -1,4 +1,4 @@ +-#include "xbNode.h"
++#include "xbnode.h"
+
+ void xbNodeLink::AddNode(xbNodeLink* node)
+ {
diff --git a/dev-db/xbase/metadata.xml b/dev-db/xbase/metadata.xml index ff62877c67ae..91f4e72fb544 100644 --- a/dev-db/xbase/metadata.xml +++ b/dev-db/xbase/metadata.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer> - <email>maintainer-needed@gentoo.org</email> -</maintainer> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/dev-db/xbase/xbase-2.0.0-r2.ebuild b/dev-db/xbase/xbase-2.0.0-r2.ebuild new file mode 100644 index 000000000000..f29103107842 --- /dev/null +++ b/dev-db/xbase/xbase-2.0.0-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 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-r2.ebuild,v 1.1 2012/06/30 13:41:45 jlec Exp $ + +EAPI=4 + +inherit autotools-utils + +DESCRIPTION="xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library" +HOMEPAGE="http://www.rekallrevealed.org/" +SRC_URI="http://www.rekallrevealed.org/packages/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND="${DEPEND} + sys-devel/automake + sys-devel/libtool" + +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc47.patch + "${FILESDIR}"/${P}-fixconfig.patch + "${FILESDIR}"/${P}-x86_64.patch + "${FILESDIR}"/${P}-ldflags.patch +) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_compile() { + autotools-utils_src_compile \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" +} + +src_install() { + autotools-utils_src_install + # media-tv/linuxtv-dvb-apps collision, bug #208596 + mv "${ED}/usr/bin/zap" "${ED}/usr/bin/xbase-zap" || die + + if use doc; then + dohtml html/* + insinto /usr/share/doc/${PF}/examples + doins examples/{*.cpp,examples.ide,makefile.g95} + fi +} diff --git a/dev-db/xbase/xbase-2.0.0.ebuild b/dev-db/xbase/xbase-2.0.0.ebuild index 7678080b39e4..84b9fd57252b 100644 --- a/dev-db/xbase/xbase-2.0.0.ebuild +++ b/dev-db/xbase/xbase-2.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2012 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.18 2009/01/10 19:04:23 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/xbase-2.0.0.ebuild,v 1.19 2012/06/30 13:41:44 jlec Exp $ inherit base eutils -DESCRIPTION="XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library" +DESCRIPTION="xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library" HOMEPAGE="http://www.rekallrevealed.org/" SRC_URI="http://www.rekallrevealed.org/packages/${P}.tgz" @@ -28,7 +28,7 @@ src_unpack() { src_install() { base_src_install - dodoc AUTHORS COPYING Changelog INSTALL NEWS README TODO + dodoc AUTHORS Changelog INSTALL NEWS README TODO if use doc; then rm html/Makefile* dohtml html/* diff --git a/dev-db/xbase/xbase-3.1.2.ebuild b/dev-db/xbase/xbase-3.1.2.ebuild new file mode 100644 index 000000000000..6ff9cf33784b --- /dev/null +++ b/dev-db/xbase/xbase-3.1.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/xbase/xbase-3.1.2.ebuild,v 1.1 2012/06/30 13:41:45 jlec Exp ${PN}/${PN}-2.0.0-r1.ebuild,v 1.6 2012/06/29 14:42:09 jer Exp $ + +EAPI=4 + +AUTOTOOLS_AUTORECONF=no + +inherit autotools-utils + +DESCRIPTION="xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library" +HOMEPAGE="http://linux.techass.com/projects/xdb/" +SRC_URI="mirror://sourceforge/xdb/${PN}64-${PV}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND="${DEPEND} + sys-devel/automake + sys-devel/libtool" + +S="${WORKDIR}"/${PN}64-${PV} + +PATCHES=( + "${FILESDIR}"/${P}-fixconfig.patch + "${FILESDIR}"/${P}-gcc44.patch + "${FILESDIR}"/${PN}-2.0.0-ppc.patch + "${FILESDIR}"/${P}-xbnode.patch + "${FILESDIR}"/${P}-lesserg.patch + "${FILESDIR}"/${P}-outofsource.patch + "${FILESDIR}"/${P}-gcc47.patch + "${FILESDIR}"/${P}-gcc-version.patch ) + +src_install() { + autotools-utils_src_install + # media-tv/linuxtv-dvb-apps collision, bug #208596 + mv "${ED}/usr/bin/zap" "${ED}/usr/bin/${PN}-zap" || die + + if use doc; then + dohtml html/* + insinto /usr/share/doc/${PF}/examples + doins examples/{*.cpp,examples.ide,makefile.g95} + fi +} |