packages: Firebird/Firebird-morearchs.patch - up to 2.1.2

baggins baggins at pld-linux.org
Thu Jul 2 23:14:43 CEST 2009


Author: baggins                      Date: Thu Jul  2 21:14:43 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.1.2

---- Files affected:
packages/Firebird:
   Firebird-morearchs.patch (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: packages/Firebird/Firebird-morearchs.patch
diff -u packages/Firebird/Firebird-morearchs.patch:1.9 packages/Firebird/Firebird-morearchs.patch:1.10
--- packages/Firebird/Firebird-morearchs.patch:1.9	Fri Jul 18 23:55:04 2008
+++ packages/Firebird/Firebird-morearchs.patch	Thu Jul  2 23:14:38 2009
@@ -25,23 +25,23 @@
 --- 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
+ static const int CLASS_DARWIN_PPC64 = 35; // Darwin/PowerPC64
++static const int CLASS_LINUX_ALPHA = 36;    // 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_DARWIN_PPC64;
 +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
+ 	archLittleEndian, // CLASS_LINUX_IA64
+-	archBigEndian	  // CLASS_DARWIN_PPC64
++	archBigEndian,	  // CLASS_DARWIN_PPC64
 +	archLittleEndian  // CLASS_LINUX_ALPHA
  };
  
@@ -58,23 +58,23 @@
 --- 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
+ // ASF: Currently, all little-endian are SWAP_DOUBLE and big-endian aren't.
 -#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)
+ #elif defined(sparc) || defined(PowerPC) || defined(PPC) || defined(__ppc__) || defined(HPUX) || defined(MIPS) || defined(__ppc64__)
  #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/linux IA64",	/* 76 */
+-	"Firebird/Darwin/PowerPC64"	/* 77 */
++	"Firebird/Darwin/PowerPC64",	/* 77 */
++    "Firebird/linux ALPHA"	/* 78 */
  };
  
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/Firebird/Firebird-morearchs.patch?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list