summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql/patches/patch-ai')
-rw-r--r--databases/postgresql/patches/patch-ai63
1 files changed, 7 insertions, 56 deletions
diff --git a/databases/postgresql/patches/patch-ai b/databases/postgresql/patches/patch-ai
index 0e5055d4f85..e1687e7dd4f 100644
--- a/databases/postgresql/patches/patch-ai
+++ b/databases/postgresql/patches/patch-ai
@@ -1,58 +1,9 @@
-$NetBSD: patch-ai,v 1.7 2000/07/14 04:44:53 jlam Exp $
+$NetBSD: patch-ai,v 1.8 2001/05/14 14:52:38 jlam Exp $
---- include/port/netbsd.h.orig Wed Apr 12 13:16:48 2000
-+++ include/port/netbsd.h Wed Jul 12 02:31:08 2000
-@@ -3,43 +3,48 @@
- #if defined(__i386__)
- #define NEED_I386_TAS_ASM
- #define HAS_TEST_AND_SET
-+typedef unsigned char slock_t;
- #endif
+--- src/interfaces/python/Setup.in.raw.orig Sun Apr 1 15:17:33 2001
++++ src/interfaces/python/Setup.in.raw
+@@ -1,3 +1,3 @@
+ *shared*
- #if defined(__sparc__)
- #define NEED_SPARC_TAS_ASM
- #define HAS_TEST_AND_SET
-+typedef unsigned char slock_t;
- #endif
-
- #if defined(__vax__)
- #define NEED_VAX_TAS_ASM
- #define HAS_TEST_AND_SET
-+typedef unsigned char slock_t;
- #endif
-
- #if defined(__ns32k__)
- #define NEED_NS32K_TAS_ASM
- #define HAS_TEST_AND_SET
-+typedef unsigned char slock_t;
- #endif
-
- #if defined(__m68k__)
- #define HAS_TEST_AND_SET
-+typedef unsigned char slock_t;
- #endif
-
- #if defined(__arm__)
- #define HAS_TEST_AND_SET
-+typedef unsigned char slock_t;
- #endif
-
- #if defined(__mips__)
- /* # undef HAS_TEST_AND_SET */
-+typedef unsigned char slock_t;
- #endif
-
--#if defined(__powerpc__)
-+#if defined(__alpha__)
- #define HAS_TEST_AND_SET
-+typedef unsigned long slock_t;
- #endif
-
- #if defined(__powerpc__)
-+#define HAS_TEST_AND_SET
- typedef unsigned int slock_t;
--
--#else
--typedef unsigned char slock_t;
--
- #endif
+-_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ -L@libpq_builddir@ -lpq @EXTRA_LIBS@
++_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ @libpq@ @EXTRA_LIBS@