]> git.pld-linux.org Git - packages/Firebird.git/blob - Firebird-morearchs.patch
- updated to 2.5.0
[packages/Firebird.git] / Firebird-morearchs.patch
1 --- Firebird-2.5.0.26074-0/src/jrd/common.h.orig        2010-09-08 10:43:27.000000000 +0200
2 +++ Firebird-2.5.0.26074-0/src/jrd/common.h     2010-10-28 07:51:57.395734339 +0200
3 @@ -158,6 +158,11 @@
4  #define RISC_ALIGNMENT
5  #endif // IA64
6  
7 +#ifdef __alpha__
8 +#define IMPLEMENTATION  isc_info_db_impl_linux_alpha   /* 82 */
9 +#define RISC_ALIGNMENT
10 +#endif
11 +
12  #ifndef USE_POSIX_THREADS
13  // force pthread detection on Linux for distros that do not provide
14  // POSIX thread compatability
15 --- Firebird-2.5.0.26074-0/src/jrd/inf_pub.h.orig       2010-09-08 10:43:27.000000000 +0200
16 +++ Firebird-2.5.0.26074-0/src/jrd/inf_pub.h    2010-10-28 07:52:00.183734339 +0200
17 @@ -213,6 +213,7 @@
18  
19         isc_info_db_impl_linux_sh = 80,
20         isc_info_db_impl_linux_sheb = 81,
21 +       isc_info_db_impl_linux_alpha = 82,
22  
23         isc_info_db_impl_last_value   // Leave this LAST!
24  };
25 --- Firebird-2.5.0.26074-0/src/jrd/pag.cpp.orig 2010-09-08 10:43:27.000000000 +0200
26 +++ Firebird-2.5.0.26074-0/src/jrd/pag.cpp      2010-10-28 07:58:22.771734339 +0200
27 @@ -160,9 +160,10 @@
28  static const int CLASS_LINUX_S390 = 37;                // LINUX/s390
29  static const int CLASS_LINUX_SH = 38;          // LINUX/SH (little-endian)
30  static const int CLASS_LINUX_SHEB = 39;                // LINUX/SH (big-endian)
31 +static const int CLASS_LINUX_ALPHA = 40;       // LINUX/Alpha
32  
33  static const int CLASS_MAX10 = CLASS_LINUX_AMD64;      // This should not be changed, no new ports with ODS10
34 -static const int CLASS_MAX = CLASS_LINUX_SHEB;
35 +static const int CLASS_MAX = CLASS_LINUX_ALPHA;
36  
37  // ARCHITECTURE COMPATIBILITY CLASSES
38  
39 @@ -259,7 +260,8 @@
40         archBigEndian,    // CLASS_LINUX_S390X
41         archBigEndian,    // CLASS_LINUX_S390
42         archLittleEndian, // CLASS_LINUX_SH
43 -       archBigEndian     // CLASS_LINUX_SHEB
44 +       archBigEndian,    // CLASS_LINUX_SHEB
45 +       archLittleEndian  // CLASS_LINUX_ALPHA
46  };
47  
48  #ifdef __sun
49 @@ -319,6 +321,8 @@
50  const SSHORT CLASS             = CLASS_LINUX_SH;
51  #elif defined(SHEB)
52  const SSHORT CLASS             = CLASS_LINUX_SHEB;
53 +#elif defined(__alpha__)
54 +const SSHORT CLASS             = CLASS_LINUX_ALPHA;
55  #else
56  #error no support on other hardware for Linux
57  #endif
58 --- Firebird-2.5.0.26074-0/src/jrd/utl.cpp.orig 2010-09-08 10:43:27.000000000 +0200
59 +++ Firebird-2.5.0.26074-0/src/jrd/utl.cpp      2010-10-28 07:57:59.231736853 +0200
60 @@ -225,7 +225,8 @@
61         "Firebird/linux s390x",                 // 78
62         "Firebird/linux s390",                  // 79
63         "Firebird/linux SH",                    // 80
64 -       "Firebird/linux SHEB"                   // 81
65 +       "Firebird/linux SHEB",                  // 81
66 +       "Firebird/linux Alpha"                  // 82
67  };
68  
69  
This page took 0.026512 seconds and 3 git commands to generate.