From 104e0c5f3abee11177372473af6341f5f55daf03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 2 Jan 2007 13:44:55 +0000 Subject: [PATCH] - new; ppc fixes Changed files: Firebird-ppc.patch -> 1.1 --- Firebird-ppc.patch | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Firebird-ppc.patch diff --git a/Firebird-ppc.patch b/Firebird-ppc.patch new file mode 100644 index 0000000..99e71e0 --- /dev/null +++ b/Firebird-ppc.patch @@ -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, -- 2.43.0