]> git.pld-linux.org Git - packages/Firebird.git/blob - Firebird-sparc.patch
6aa4efc12958a688ac41ecf666fec0d73b3e20b4
[packages/Firebird.git] / Firebird-sparc.patch
1 --- firebird-1.5.0.4290/configure.in.orig       2003-12-23 23:23:54.000000000 +0000
2 +++ firebird-1.5.0.4290/configure.in    2004-05-28 16:18:05.000000000 +0000
3 @@ -51,15 +51,6 @@
4      SHRLIB_EXT=so
5      ;;
6  
7 -  sparc*-*-linux-*)
8 -    MAKEFILE_PREFIX=linux_sparc32
9 -    PLATFORM=LINUX
10 -    AC_DEFINE(LINUX)
11 -    LOCK_MANAGER_FLG=Y
12 -    EDITLINE_FLG=Y
13 -    SHRLIB_EXT=so
14 -    ;;
15 -
16    *-*-linux*)
17      MAKEFILE_PREFIX=linux
18      PLATFORM=LINUX
19 --- firebird-1.5.0.4290/src/jrd/common.h.orig   2003-10-27 18:30:37.000000000 +0000
20 +++ firebird-1.5.0.4290/src/jrd/common.h        2004-05-28 16:29:42.000000000 +0000
21 @@ -120,7 +120,7 @@
22  #define IMPLEMENTATION  isc_info_db_impl_i386 /* 60  next higher unique number, See you later  */
23  #endif /* i386 */
24  
25 -#ifdef sparc
26 +#ifdef __sparc__
27  #define IMPLEMENTATION  isc_info_db_impl_linux_sparc /* 65  */
28  #endif /* sparc */
29  
30 --- firebird-1.5.0.4290/src/jrd/pag.cpp.orig    2003-10-08 13:03:06.000000000 +0000
31 +++ firebird-1.5.0.4290/src/jrd/pag.cpp 2004-05-28 17:14:57.000000000 +0000
32 @@ -177,7 +177,7 @@
33  #ifdef i586
34  #define CLASS           19
35  #endif
36 -#ifdef sparc
37 +#ifdef __sparc__
38  #define CLASS           20
39  #endif
40  #endif
41 --- firebird-1.5.0.4290/src/remote/xdr.cpp.orig 2003-11-09 19:58:26.000000000 +0000
42 +++ firebird-1.5.0.4290/src/remote/xdr.cpp      2004-05-28 17:28:21.000000000 +0000
43 @@ -42,7 +42,7 @@
44  #if defined(i386) || defined(I386) || defined(_M_IX86)
45  #define                SWAP_DOUBLE
46  #else
47 -#if !defined(sparc) && !defined(PowerPC)
48 +#if !defined(sparc) && !defined(__sparc__) && !defined(PowerPC)
49  #error "Define SWAP_DOUBLE for your platform correctly !"
50  #endif
51  #endif
This page took 0.065232 seconds and 2 git commands to generate.