summaryrefslogtreecommitdiffstats
path: root/databases/msql
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-04 20:48:38 +0000
committerpav <pav@FreeBSD.org>2004-05-04 20:48:38 +0000
commitf51e987ba349857fb0f0cdf2547bcf36ad41f886 (patch)
tree0ac81e22b657285ff53ed50472d81ad51b7e592a /databases/msql
parent2750b204e8b68a88262d44ea4784a684ebb0cb2a (diff)
downloadFreeBSD-ports-f51e987ba349857fb0f0cdf2547bcf36ad41f886.zip
FreeBSD-ports-f51e987ba349857fb0f0cdf2547bcf36ad41f886.tar.gz
- Fix build on gcc 3.3
PR: ports/66250 Submitted by: Andrey Slusar <vasallia@ukr.net>
Diffstat (limited to 'databases/msql')
-rw-r--r--databases/msql/files/patch-ai8
-rw-r--r--databases/msql/files/patch-bc8
2 files changed, 16 insertions, 0 deletions
diff --git a/databases/msql/files/patch-ai b/databases/msql/files/patch-ai
index b4d5453..984e8b7 100644
--- a/databases/msql/files/patch-ai
+++ b/databases/msql/files/patch-ai
@@ -1,5 +1,13 @@
--- src/msql/msqld.c.orig Thu Aug 19 07:33:20 1999
+++ src/msql/msqld.c Sat Jan 27 07:45:13 2001
+@@ -23,6 +23,7 @@
+ # include <os2.h>
+ #endif
+
++#define ANSI_ARGS
+
+ #include <stdio.h>
+ #include <fcntl.h>
@@ -749,7 +749,7 @@
#endif
#if defined(_OS_UNIX)
diff --git a/databases/msql/files/patch-bc b/databases/msql/files/patch-bc
index f5a9640..54be8a8 100644
--- a/databases/msql/files/patch-bc
+++ b/databases/msql/files/patch-bc
@@ -1,5 +1,13 @@
--- src/msql/libmsql.c.bak Wed Aug 22 04:17:08 2001
+++ src/msql/libmsql.c Thu Sep 11 11:02:19 2003
+@@ -31,6 +31,7 @@
+ # include <stdlib.h>
+ # include <string.h>
+
++#define ANSI_ARGS
+
+ #if defined(_OS_WIN32)
+ # include <winsock.h>
@@ -88,11 +88,11 @@
RETSIGTYPE pipeHandler(int);
#endif
OpenPOWER on IntegriCloud