fix x86_64 configure detection

This commit is contained in:
Tom Callaway 2008-06-05 19:54:47 +00:00
commit b60b0fa919
2 changed files with 18 additions and 1 deletions

12
xbase-2.0.0-x86_64.patch Normal file
View file

@ -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-*)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.

View file

@ -1,7 +1,7 @@
Name: xbase
Summary: XBase compatible database library
Version: 2.0.0
Release: 11%{?dist}
Release: 12%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://linux.techass.com/projects/xdb/
@ -10,6 +10,7 @@ Patch0: xbase-2.0.0-fixconfig.patch
Patch1: xbase-2.0.0-fixheader.patch
Patch2: xbase-2.0.0-ppc.patch
Patch3: xbase-2.0.0-gcc43.patch
Patch4: xbase-2.0.0-x86_64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: doxygen
@ -51,6 +52,7 @@ zap (remove all records from a DBF file).
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%configure --disable-static
@ -99,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/dbfutil1
%changelog
* Thu Jun 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-12
- fix x86_64 detection in configure (FTBFS)
* Tue Mar 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 2.0.0-11
- Fix gcc4.3 patch to not polute global header namespace with
"using namespace std;"