packages (FIREBIRD_1_5): Firebird/Firebird-ppc.patch - fix for 1.5.6

marcus marcus at pld-linux.org
Sat Apr 14 23:22:02 CEST 2012


Author: marcus                       Date: Sat Apr 14 21:22:02 2012 GMT
Module: packages                      Tag: FIREBIRD_1_5
---- Log message:
- fix for 1.5.6

---- Files affected:
packages/Firebird:
   Firebird-ppc.patch (1.1 -> 1.1.2.1) 

---- Diffs:

================================================================
Index: packages/Firebird/Firebird-ppc.patch
diff -u packages/Firebird/Firebird-ppc.patch:1.1 packages/Firebird/Firebird-ppc.patch:1.1.2.1
--- packages/Firebird/Firebird-ppc.patch:1.1	Tue Jan  2 14:44:55 2007
+++ packages/Firebird/Firebird-ppc.patch	Sat Apr 14 23:21:57 2012
@@ -1,37 +1,40 @@
---- firebird-1.5.3.4870/src/jrd/pag.cpp.org	2007-01-02 13:51:03.000000000 +0000
-+++ firebird-1.5.3.4870/src/jrd/pag.cpp	2007-01-02 13:56:47.000000000 +0000
-@@ -143,8 +143,11 @@
- static const int CLASS_NETBSD_I386 = 22;  // NetBSD/i386
+diff -uNr firebird-1.5.6.5026.orig/src/jrd/pag.cpp firebird-1.5.6.5026/src/jrd/pag.cpp
+--- firebird-1.5.6.5026.orig/src/jrd/pag.cpp	2012-04-14 23:13:40.089510000 +0200
++++ firebird-1.5.6.5026/src/jrd/pag.cpp	2012-04-14 23:19:10.864768669 +0200
+@@ -144,7 +144,10 @@
  static const int CLASS_DARWIN_PPC = 23;   // Darwin/PowerPC
  static const int CLASS_LINUX_AMD64 = 24;  // LINUX on AMD64 systems
-+static const int CLASS_FREEBSD_AMD64 = 25;// FreeBSD/amd64
-+static const int CLASS_WINDOWS_AMD64 = 26;// Windows/amd64
-+static const int CLASS_LINUX_PPC = 27;    // LINUX/PowerPC
- 
--static const int CLASS_MAX10 = CLASS_LINUX_AMD64;
+ static const int CLASS_DARWIN_I386 = 25;  // Darwin/Intel
+-static const int CLASS_MAX10 = CLASS_DARWIN_I386;
++static const int CLASS_FREEBSD_AMD64 = 26;// FreeBSD/amd64
++static const int CLASS_WINDOWS_AMD64 = 27;// Windows/amd64
++static const int CLASS_LINUX_PPC = 28;    // LINUX/PowerPC
 +static const int CLASS_MAX10 = CLASS_LINUX_PPC;
  
  // ARCHITECTURE COMPATIBILITY CLASSES
  
-@@ -188,7 +191,10 @@
+@@ -186,10 +189,13 @@
+ 	archIntel86, // CLASS_LINUX_I386
+ 	archUnknown, // CLASS_LINUX_SPARC
  	archIntel86, // CLASS_FREEBSD_I386
-     archIntel86, // CLASS_NETBSD_I386
+-    archIntel86, // CLASS_NETBSD_I386
++	archIntel86, // CLASS_NETBSD_I386
  	archUnknown, // CLASS_DARWIN_PPC
--	archUnknown  // CLASS_LINUX_AMD64
-+	archUnknown, // CLASS_LINUX_AMD64
+ 	archUnknown, // CLASS_LINUX_AMD64
+ 	archIntel86  // CLASS_DARWIN_I386
 +	archUnknown, // CLASS_FREEBSD_AMD64
 +	archUnknown, // CLASS_WINDOWS_AMD64
 +	archUnknown  // CLASS_LINUX_PPC
  };
  
  #ifdef sun
-@@ -256,6 +262,9 @@
- #define CLASS		CLASS_DARWIN_PPC
- #endif
+@@ -402,6 +408,9 @@
+ 	return TRUE;
+ }
  
 +#ifdef PPC
 +#define CLASS		CLASS_LINUX_PPC
 +#endif
  
- int PAG_add_clump(
- 				  SLONG page_num,
+ USHORT PAG_add_file(TEXT * file_name, SLONG start)
+ {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/Firebird/Firebird-ppc.patch?r1=1.1&r2=1.1.2.1



More information about the pld-cvs-commit mailing list