From 30c2330f921c71d433670481c07ff602a72ab30c Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jun 04 2006 13:43:32 +0000 Subject: Try to fix xbase. --- diff --git a/xbase-2.0.0-fixheader.patch b/xbase-2.0.0-fixheader.patch new file mode 100644 index 0000000..fad32ac --- /dev/null +++ b/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/xbase.spec b/xbase.spec index 1dcad87..9f96d8a 100644 --- a/xbase.spec +++ b/xbase.spec @@ -1,12 +1,13 @@ Name: xbase Summary: XBase compatible database library and tools Version: 2.0.0 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPL (binaries GPL) Group: Development/Libraries URL: http://linux.techass.com/projects/xdb/ Source0: http://dl.sourceforge.net/xdb/%{name}-%{version}.tar.gz Patch0: xbase-2.0.0-fixconfig.patch +Patch1: xbase-2.0.0-fixheader.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: doxygen @@ -31,6 +32,7 @@ Headers and libraries for compiling programs that use the XBase library. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure --enable-static @@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libxbase.so %changelog +* Sun Jun 4 2006 Tom "spot" Callaway 2.0.0-5 +- fix header file + * Tue Feb 28 2006 Tom "spot" Callaway 2.0.0-4 - bump for FC-5