]> git.pld-linux.org Git - packages/Firebird.git/blobdiff - Firebird-morearchs.patch
- oops, c/p
[packages/Firebird.git] / Firebird-morearchs.patch
index 0df6691327fc35b18bebc485a44db915c1071113..627b36e88cb91f53fe8911eb98299b4ddf2859ba 100644 (file)
@@ -1,67 +1,80 @@
---- firebird-1.5.0.4290/src/jrd/common.h.orig  2004-05-28 23:36:22.000000000 +0200
-+++ firebird-1.5.0.4290/src/jrd/common.h       2004-05-28 23:44:49.000000000 +0200
-@@ -131,6 +131,18 @@
- #define IMPLEMENTATION  isc_info_db_impl_linux_sparc /* 65  */
- #endif /* sparc */
+--- 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 @@
+ #define RISC_ALIGNMENT
+ #endif // IA64
  
-+#ifdef __powerpc__
-+#define IMPLEMENTATION        isc_info_db_impl_linux_ppc
-+#endif
-+
 +#ifdef __alpha__
-+#define IMPLEMENTATION        isc_info_db_impl_linux_alpha
++#define IMPLEMENTATION  isc_info_db_impl_linux_alpha  /* 77 */
++#define RISC_ALIGNMENT
 +#endif
 +
-+#ifdef __x86_64__
-+#define IMPLEMENTATION        isc_info_db_impl_linux_amd64
-+#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-1.5.0.4290/src/jrd/ibase.h.orig   2003-12-28 00:06:25.000000000 +0100
-+++ firebird-1.5.0.4290/src/jrd/ibase.h        2004-05-28 23:48:49.000000000 +0200
-@@ -1573,6 +1573,10 @@
+ #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
  
-       isc_info_db_impl_linux_sparc = 65,
+       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_ppc = 66,
-+      isc_info_db_impl_linux_alpha = 67,
-+      isc_info_db_impl_linux_amd64 = 68,
-+
-       isc_info_db_impl_last_value   /* Leave this LAST! */
-     };
+       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-1.5.0.4290/src/jrd/pag.cpp.orig   2004-05-28 22:16:09.000000000 +0200
-+++ firebird-1.5.0.4290/src/jrd/pag.cpp        2004-05-28 23:58:59.000000000 +0200
-@@ -180,6 +180,15 @@
- #ifdef __sparc__
- #define CLASS           20
- #endif
-+#ifdef __powerpc__
-+#define CLASS         30
-+#endif
-+#ifdef __alpha__
-+#define CLASS         31
-+#endif
-+#ifdef __x86_64__
-+#define CLASS         32
-+#endif
- #endif
+ 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_ALPHA;
  
- #ifdef FREEBSD
---- firebird-1.5.0.4290/src/remote/xdr.cpp.orig        2004-05-29 00:05:08.000000000 +0200
-+++ firebird-1.5.0.4290/src/remote/xdr.cpp     2004-05-29 00:06:09.000000000 +0200
-@@ -39,10 +39,10 @@
- // The simpliest way to check it is to issue
- // "select abs(2.0/3.0) from rdb$database" from correct client
- // It will return big strange value in case of invalid define
--#if defined(i386) || defined(I386) || defined(_M_IX86)
-+#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(__alpha__) || defined(__x86_64__)
- #define               SWAP_DOUBLE
+ // 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
++      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;
++#elif defined(__alpha__)
++const SSHORT CLASS            = CLASS_LINUX_ALPHA;
  #else
--#if !defined(sparc) && !defined(__sparc__) && !defined(PowerPC)
-+#if !defined(sparc) && !defined(__sparc__) && !defined(PowerPC) && !defined(__powerpc__)
- #error "Define SWAP_DOUBLE for your platform correctly !"
- #endif
+ #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 */
+ };
This page took 0.079106 seconds and 4 git commands to generate.