SOURCES: firebird-ppc.patch (NEW) - new; ppc fixes
arekm
arekm at pld-linux.org
Tue Jan 2 14:45:01 CET 2007
Author: arekm Date: Tue Jan 2 13:45:00 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new; ppc fixes
---- Files affected:
SOURCES:
firebird-ppc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/firebird-ppc.patch
diff -u /dev/null SOURCES/firebird-ppc.patch:1.1
--- /dev/null Tue Jan 2 14:45:00 2007
+++ SOURCES/firebird-ppc.patch Tue Jan 2 14:44:55 2007
@@ -0,0 +1,37 @@
+--- 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
+ 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_MAX10 = CLASS_LINUX_PPC;
+
+ // ARCHITECTURE COMPATIBILITY CLASSES
+
+@@ -188,7 +191,10 @@
+ archIntel86, // CLASS_FREEBSD_I386
+ archIntel86, // CLASS_NETBSD_I386
+ archUnknown, // CLASS_DARWIN_PPC
+- archUnknown // CLASS_LINUX_AMD64
++ archUnknown, // CLASS_LINUX_AMD64
++ archUnknown, // CLASS_FREEBSD_AMD64
++ archUnknown, // CLASS_WINDOWS_AMD64
++ archUnknown // CLASS_LINUX_PPC
+ };
+
+ #ifdef sun
+@@ -256,6 +262,9 @@
+ #define CLASS CLASS_DARWIN_PPC
+ #endif
+
++#ifdef PPC
++#define CLASS CLASS_LINUX_PPC
++#endif
+
+ int PAG_add_clump(
+ SLONG page_num,
================================================================
More information about the pld-cvs-commit
mailing list