---- Firebird-2.1.1.17910-0/src/jrd/common.h.orig 2008-05-27 11:27:23.000000000 +0200
-+++ Firebird-2.1.1.17910-0/src/jrd/common.h 2008-07-18 22:37:29.266040573 +0200
-@@ -151,6 +151,11 @@
+--- Firebird-2.5.0.26074-0/src/jrd/common.h.orig 2010-09-08 10:43:27.000000000 +0200
++++ Firebird-2.5.0.26074-0/src/jrd/common.h 2010-10-28 07:51:57.395734339 +0200
+@@ -158,6 +158,11 @@
#define RISC_ALIGNMENT
#endif // IA64
+#ifdef __alpha__
-+#define IMPLEMENTATION isc_info_db_impl_linux_alpha /* 77 */
++#define IMPLEMENTATION isc_info_db_impl_linux_alpha /* 82 */
+#define RISC_ALIGNMENT
+#endif
+
- #define MEMMOVE(from, to, length) memmove ((void *)to, (void *)from, (size_t) length)
- #define MOVE_FAST(from, to, length) memcpy (to, from, (int) (length))
- #define MOVE_FASTER(from, to, length) memcpy (to, from, (int) (length))
---- Firebird-2.1.1.17910-0/src/jrd/inf_pub.h.orig 2008-05-27 11:27:30.000000000 +0200
-+++ Firebird-2.1.1.17910-0/src/jrd/inf_pub.h 2008-07-18 22:40:03.810034707 +0200
-@@ -205,6 +205,7 @@ enum info_db_implementations
+ #ifndef USE_POSIX_THREADS
+ // force pthread detection on Linux for distros that do not provide
+ // POSIX thread compatability
+--- Firebird-2.5.0.26074-0/src/jrd/inf_pub.h.orig 2010-09-08 10:43:27.000000000 +0200
++++ Firebird-2.5.0.26074-0/src/jrd/inf_pub.h 2010-10-28 07:52:00.183734339 +0200
+@@ -213,6 +213,7 @@
- isc_info_db_impl_linux_arm = 75,
- isc_info_db_impl_linux_ia64 = 76,
-+ isc_info_db_impl_linux_alpha = 77,
+ isc_info_db_impl_linux_sh = 80,
+ isc_info_db_impl_linux_sheb = 81,
++ isc_info_db_impl_linux_alpha = 82,
isc_info_db_impl_last_value // Leave this LAST!
};
---- Firebird-2.1.1.17910-0/src/jrd/pag.cpp.orig 2008-05-27 11:27:37.000000000 +0200
-+++ Firebird-2.1.1.17910-0/src/jrd/pag.cpp 2008-07-18 22:42:52.586039735 +0200
-@@ -158,9 +158,10 @@ static const int CLASS_DARWIN_X64 = 31;
- static const int CLASS_SOLARIS_AMD64 = 32; //Solaris/amd64
- static const int CLASS_LINUX_ARM = 33; // LINUX/ARM
- static const int CLASS_LINUX_IA64 = 34; // LINUX/IA64
-+static const int CLASS_LINUX_ALPHA = 35; // LINUX/ALPHA
+--- Firebird-2.5.0.26074-0/src/jrd/pag.cpp.orig 2010-09-08 10:43:27.000000000 +0200
++++ Firebird-2.5.0.26074-0/src/jrd/pag.cpp 2010-10-28 07:58:22.771734339 +0200
+@@ -160,9 +160,10 @@
+ static const int CLASS_LINUX_S390 = 37; // LINUX/s390
+ static const int CLASS_LINUX_SH = 38; // LINUX/SH (little-endian)
+ static const int CLASS_LINUX_SHEB = 39; // LINUX/SH (big-endian)
++static const int CLASS_LINUX_ALPHA = 40; // LINUX/Alpha
static const int CLASS_MAX10 = CLASS_LINUX_AMD64; // This should not be changed, no new ports with ODS10
--static const int CLASS_MAX = CLASS_LINUX_IA64;
+-static const int CLASS_MAX = CLASS_LINUX_SHEB;
+static const int CLASS_MAX = CLASS_LINUX_ALPHA;
// ARCHITECTURE COMPATIBILITY CLASSES
-@@ -250,7 +251,8 @@ static ArchitectureType archMatrix[CLASS
- archLittleEndian, // CLASS_DARWIN_X64
- archLittleEndian, // CLASS_SOLARIS_AMD64
- archLittleEndian, // CLASS_LINUX_ARM
-- archLittleEndian // CLASS_LINUX_IA64
-+ archLittleEndian, // CLASS_LINUX_IA64
+@@ -259,7 +260,8 @@
+ archBigEndian, // CLASS_LINUX_S390X
+ archBigEndian, // CLASS_LINUX_S390
+ archLittleEndian, // CLASS_LINUX_SH
+- archBigEndian // CLASS_LINUX_SHEB
++ archBigEndian, // CLASS_LINUX_SHEB
+ archLittleEndian // CLASS_LINUX_ALPHA
};
- #ifdef sun
-@@ -308,6 +310,8 @@ const SSHORT CLASS = CLASS_LINUX_MIPSEL
- const SSHORT CLASS = CLASS_LINUX_MIPS;
- #elif defined(IA64)
- const SSHORT CLASS = CLASS_LINUX_IA64;
+ #ifdef __sun
+@@ -319,6 +321,8 @@
+ const SSHORT CLASS = CLASS_LINUX_SH;
+ #elif defined(SHEB)
+ const SSHORT CLASS = CLASS_LINUX_SHEB;
+#elif defined(__alpha__)
+const SSHORT CLASS = CLASS_LINUX_ALPHA;
#else
#error no support on other hardware for Linux
#endif
---- Firebird-2.1.1.17910-0/src/remote/xdr.cpp.orig 2008-05-27 11:27:51.000000000 +0200
-+++ Firebird-2.1.1.17910-0/src/remote/xdr.cpp 2008-07-18 22:43:33.910037221 +0200
-@@ -42,7 +42,7 @@
- // entry_point 'IB_UDF_abs' module_name 'ib_udf';
- // select abs2(2.0 / 3.0) from rdb$database;
- // It will return big strange value in case of invalid define
--#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(ARM) || defined(MIPSEL) || defined(DARWIN64) || defined(IA64)
-+#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(ARM) || defined(MIPSEL) || defined(DARWIN64) || defined(IA64) || defined(__alpha__)
- #define SWAP_DOUBLE
- #elif defined(sparc) || defined(PowerPC) || defined(PPC) || defined(__ppc__) || defined(HPUX) || defined(MIPS)
- #undef SWAP_DOUBLE
---- Firebird-2.1.1.17910-0/src/jrd/utl.cpp.orig 2008-05-27 11:27:40.000000000 +0200
-+++ Firebird-2.1.1.17910-0/src/jrd/utl.cpp 2008-07-18 22:44:17.890038059 +0200
-@@ -243,7 +243,8 @@ static const TEXT* const impl_implementa
- "Firebird/Darwin/Intel64", /* 73 */
- "Firebird/sun/amd64", /* 74 */
- "Firebird/linux ARM", /* 75 */
-- "Firebird/linux IA64" // 76
-+ "Firebird/linux IA64", // 76
-+ "Firebird/linux ALPHA" /* 77 */
+--- Firebird-2.5.0.26074-0/src/jrd/utl.cpp.orig 2010-09-08 10:43:27.000000000 +0200
++++ Firebird-2.5.0.26074-0/src/jrd/utl.cpp 2010-10-28 07:57:59.231736853 +0200
+@@ -225,7 +225,8 @@
+ "Firebird/linux s390x", // 78
+ "Firebird/linux s390", // 79
+ "Firebird/linux SH", // 80
+- "Firebird/linux SHEB" // 81
++ "Firebird/linux SHEB", // 81
++ "Firebird/linux Alpha" // 82
};
---- firebird-1.5.1.4500/src/jrd/btr.cpp.orig 2004-08-08 14:17:42.000000000 +0200
-+++ firebird-1.5.1.4500/src/jrd/btr.cpp 2004-08-08 14:16:30.000000000 +0200
-@@ -191,7 +191,7 @@
- //
- inline SLONG BTR_get_quad(const UCHAR* p)
- {
--#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64)
-+#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(__alpha__)
- // For IA32 (little-endian) this optimization is a _very_ large speed-up!
- return *reinterpret_cast<const SLONG*>(p);
- #else