From: Arkadiusz Miƛkiewicz Date: Tue, 2 Jan 2007 13:44:55 +0000 (+0000) Subject: - new; ppc fixes X-Git-Tag: auto/th/Firebird-1_5_3_4870-5~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2FFirebird.git;a=commitdiff_plain;h=104e0c5f3abee11177372473af6341f5f55daf03 - new; ppc fixes Changed files: Firebird-ppc.patch -> 1.1 --- 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,