freebsd-ports/databases/msql/files/patch-ai
Pav Lucistnik 27571ccca6 - Fix build on gcc 3.3
PR:		ports/66250
Submitted by:	Andrey Slusar <vasallia@ukr.net>
2004-05-04 20:48:38 +00:00

19 lines
472 B
Text

--- 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)
{
- snprintf(confFile,sizeof(confFile),"%s/msql.conf", INST_DIR);
+ snprintf(confFile,sizeof(confFile),"%s/etc/msql2/msql.conf", INST_DIR);
}
#endif
printf("\tLoading configuration from '%s'.\n",confFile);