diff options
author | garbled <garbled@pkgsrc.org> | 1998-12-29 08:12:04 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-12-29 08:12:04 +0000 |
commit | 52889ce6991b66171dc9bc5f101bb46f0079a22c (patch) | |
tree | 7477e1508f8fe57edd1a531ed6708c22ebad5208 /databases | |
parent | 993cb4b33ba794e0cda792e7bc3250eb9cb2e868 (diff) | |
download | pkgsrc-52889ce6991b66171dc9bc5f101bb46f0079a22c.tar.gz |
fix some lacks of string.h inclusions which bombed out the build on alpha
and special case the compile of sql_yacc.cc. It used up all the memory
on my alpha with 256MB of mem trying to compile this file. Turning off
the optimization keeps it from crashing my machine.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql/patches/patch-aj | 17 | ||||
-rw-r--r-- | databases/mysql/patches/patch-ba | 11 | ||||
-rw-r--r-- | databases/mysql/patches/patch-bb | 12 |
3 files changed, 35 insertions, 5 deletions
diff --git a/databases/mysql/patches/patch-aj b/databases/mysql/patches/patch-aj index e0286f4dde7..1ae6c93a72f 100644 --- a/databases/mysql/patches/patch-aj +++ b/databases/mysql/patches/patch-aj @@ -1,8 +1,15 @@ -$NetBSD: patch-aj,v 1.1 1998/10/28 18:18:08 bad Exp $ - ---- mit-pthreads/pthreads/fd.c.orig Tue Jan 13 14:28:04 1998 -+++ mit-pthreads/pthreads/fd.c Sat Oct 24 22:24:28 1998 -@@ -702,7 +702,7 @@ +$NetBSD: patch-aj,v 1.2 1998/12/29 08:12:04 garbled Exp $ +--- mit-pthreads/pthreads/fd.c.orig Tue Jan 13 06:28:04 1998 ++++ mit-pthreads/pthreads/fd.c Mon Dec 28 23:50:16 1998 +@@ -44,6 +44,7 @@ + + #include <pthread.h> + #include <stdlib.h> ++#include <string.h> + #include <unistd.h> + #include <sys/types.h> + #include <sys/stat.h> +@@ -702,7 +703,7 @@ */ off_t lseek(int fd, off_t offset, int whence) { diff --git a/databases/mysql/patches/patch-ba b/databases/mysql/patches/patch-ba new file mode 100644 index 00000000000..cbb07fccc28 --- /dev/null +++ b/databases/mysql/patches/patch-ba @@ -0,0 +1,11 @@ +$NetBSD: patch-ba,v 1.1 1998/12/29 08:12:04 garbled Exp $ +--- mit-pthreads/pthreads/specific.c.orig Mon Dec 28 23:52:16 1998 ++++ mit-pthreads/pthreads/specific.c Mon Dec 28 23:52:30 1998 +@@ -42,6 +42,7 @@ + #include <errno.h> + #include <pthread.h> + #include <stdlib.h> ++#include <string.h> + + static struct pthread_key key_table[PTHREAD_DATAKEYS_MAX]; + static pthread_mutex_t key_mutex = PTHREAD_MUTEX_INITIALIZER; diff --git a/databases/mysql/patches/patch-bb b/databases/mysql/patches/patch-bb new file mode 100644 index 00000000000..63c4f9ac793 --- /dev/null +++ b/databases/mysql/patches/patch-bb @@ -0,0 +1,12 @@ +$NetBSD: patch-bb,v 1.1 1998/12/29 08:12:04 garbled Exp $ +--- sql/Makefile.in.orig Tue Dec 29 00:18:10 1998 ++++ sql/Makefile.in Tue Dec 29 00:19:42 1998 +@@ -945,7 +945,7 @@ + + + sql_yacc.o: sql_yacc.cc sql_yacc.h +- $(CXXCOMPILE) $(LM_CFLAGS) -c $< ++ $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) -DDBUG_OFF $(LM_CFLAGS) -c $< + + .cc.so: + $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) -fPIC -share -o $@ $< |