]> git.pld-linux.org Git - packages/Firebird.git/blob - Firebird-sparc.patch
- fix build with existing <vis.h> from heimdal, prefer tinfo over termcap
[packages/Firebird.git] / Firebird-sparc.patch
1 --- firebird-1.5.0.4290/src/jrd/common.h.orig   2003-10-27 18:30:37.000000000 +0000
2 +++ firebird-1.5.0.4290/src/jrd/common.h        2004-05-28 16:29:42.000000000 +0000
3 @@ -120,7 +120,7 @@
4  #define IMPLEMENTATION  isc_info_db_impl_i386 /* 60  next higher unique number, See you later  */
5  #endif /* i386 */
6  
7 -#ifdef sparc
8 +#ifdef __sparc__
9  #define IMPLEMENTATION  isc_info_db_impl_linux_sparc /* 65  */
10  #endif /* sparc */
11  
12 --- firebird-1.5.0.4290/src/jrd/pag.cpp.orig    2003-10-08 13:03:06.000000000 +0000
13 +++ firebird-1.5.0.4290/src/jrd/pag.cpp 2004-05-28 17:14:57.000000000 +0000
14 @@ -177,7 +177,7 @@
15  #ifdef i586
16  #define CLASS           19
17  #endif
18 -#ifdef sparc
19 +#ifdef __sparc__
20  #define CLASS           20
21  #endif
22  #endif
23 --- firebird-1.5.0.4290/src/remote/xdr.cpp.orig 2003-11-09 19:58:26.000000000 +0000
24 +++ firebird-1.5.0.4290/src/remote/xdr.cpp      2004-05-28 17:28:21.000000000 +0000
25 @@ -42,7 +42,7 @@
26  #if defined(i386) || defined(I386) || defined(_M_IX86)
27  #define                SWAP_DOUBLE
28  #else
29 -#if !defined(sparc) && !defined(PowerPC)
30 +#if !defined(sparc) && !defined(__sparc__) && !defined(PowerPC)
31  #error "Define SWAP_DOUBLE for your platform correctly !"
32  #endif
33  #endif
This page took 0.077954 seconds and 3 git commands to generate.