summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorbad <bad>2001-03-26 13:41:32 +0000
committerbad <bad>2001-03-26 13:41:32 +0000
commitd258135fe07e7f9ffd0412e6aec5a5462c48a3ed (patch)
tree72de1a12f4275e236738fa7e5afb4cdbe9e962cf /databases
parent73bb5513a6384847669a7ef0ae34a2e3a64f5c2a (diff)
downloadpkgsrc-d258135fe07e7f9ffd0412e6aec5a5462c48a3ed.tar.gz
Replace with hack to do the __RENAME hack for sigaction() in mit-pthreads.
Now, mysql-server doesn't require COMPAT_NETBSD13 anymore.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-server/patches/patch-ab64
1 files changed, 26 insertions, 38 deletions
diff --git a/databases/mysql-server/patches/patch-ab b/databases/mysql-server/patches/patch-ab
index 8ecfca7d0ea..72d18dfd05e 100644
--- a/databases/mysql-server/patches/patch-ab
+++ b/databases/mysql-server/patches/patch-ab
@@ -1,40 +1,28 @@
-$NetBSD: patch-ab,v 1.3 2000/08/23 14:46:52 wiz Exp $
+$NetBSD: patch-ab,v 1.4 2001/03/26 13:41:32 bad Exp $
---- mit-pthreads/config/configure.in.orig Fri Dec 31 01:15:51 1999
-+++ mit-pthreads/config/configure.in
-@@ -125,7 +125,7 @@
+--- mit-pthreads/machdep/netbsd-1.1/__signal.h.orig Fri Mar 16 01:51:54 2001
++++ mit-pthreads/machdep/netbsd-1.1/__signal.h Sun Mar 25 00:54:56 2001
+@@ -1,5 +1,7 @@
+ #include <sys/signal.h>
- case $host in
- changequote(,)dnl
-- alpha-*-netbsd1.3[H-Z]|alpha-*-netbsd1.4*)
-+ alpha-*-netbsd1.3[H-Z]|alpha-*-netbsd1.[45]*)
- name=alpha-netbsd-1.3
- sysincludes=netbsd-1.1
- except="fork lseek pipe fstat"
-@@ -151,7 +151,7 @@
- fi
- ;;
- changequote(,)dnl
-- arm32-*-netbsd1.3[H-Z]|arm32-*-netbsd1.4*)
-+ arm32-*-netbsd1.3[H-Z]|arm32-*-netbsd1.[45]*)
- name=arm32-netbsd-1.3
- sysincludes=netbsd-1.1
- except="fork pipe lseek ftruncate fstat"
-@@ -198,7 +198,7 @@
- AC_DEFINE(BROKEN_SIGNALS)
- ;;
- changequote(,)dnl
-- sparc-*-netbsd1.3[H-Z]|sparc-*-netbsd1.4*)
-+ sparc-*-netbsd1.3[H-Z]|sparc-*-netbsd1.[45]*)
- name=sparc-netbsd-1.3
- sysincludes=netbsd-1.1
- except="pipe fork lseek ftruncate fstat"
-@@ -236,7 +236,7 @@
- except="fork lseek ftruncate sigsuspend"
- ;;
- changequote(,)dnl
-- i386-*-netbsd1.3[H-Z]|i386-*-netbsd1.4*)
-+ i386-*-netbsd1.3[H-Z]|i386-*-netbsd1.[45]*)
- name=i386-netbsd-1.3
- sysincludes=netbsd-1.1
- except="fork lseek ftruncate pipe fstat"
++__BEGIN_DECLS
++
+ #if NSIG <= 32
+ #define __SIGEMPTYSET 0
+ #define __SIGFILLSET 0xffffffff
+@@ -8,6 +10,9 @@
+ #define __SIGISMEMBER(s, n) ((*(s) & (1 << ((n) - 1))) != 0)
+
+ #else /* XXX Netbsd >= 1.3H */
++
++int sigaction __P_((int, const struct sigaction *, struct sigaction *)) __RENAME(__sigaction14);
++
+ #define __SIGEMPTYSET { 0, 0, 0, 0}
+ #define __SIGFILLSET { 0xffffffff, 0xffffffff, \
+ 0xffffffff, 0xffffffff }
+@@ -18,3 +23,5 @@
+ #define __SIGISMEMBER(s, n) (((s)->__bits[__SIGWORD(n)] & __SIGMASK(n)) != 0)
+
+ #endif
++
++__END_DECLS