summaryrefslogtreecommitdiff
path: root/databases/msql/files/patch-ao
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-30 15:57:34 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-30 15:57:34 +0000
commit0e6618d59d0fffcc31a5f96bd403439e04aba961 (patch)
tree1e4da28a77395b38051044b1df4d1823891227b0 /databases/msql/files/patch-ao
parentUpdate to beta 2 version and fix for new perl. (diff)
Update to version 2.0.4.1 and in the process: portlint, fix
PLIST, and honor PREFIX.
Diffstat (limited to 'databases/msql/files/patch-ao')
-rw-r--r--databases/msql/files/patch-ao28
1 files changed, 20 insertions, 8 deletions
diff --git a/databases/msql/files/patch-ao b/databases/msql/files/patch-ao
index 66b1e468884e..5e8b8e9d683e 100644
--- a/databases/msql/files/patch-ao
+++ b/databases/msql/files/patch-ao
@@ -1,8 +1,20 @@
---- src/conf/site.mm.in.orig Wed Oct 15 01:43:58 1997
-+++ src/conf/site.mm.in Wed Oct 15 01:44:48 1997
-@@ -6 +6 @@
--COMPILER= @CC@
-+COMPILER:= $(CC)
-@@ -42 +42 @@
--CFLAGS= -O -I$(TOP)/ $(EXTRA_CFLAGS)
-+CFLAGS+= -I$(TOP)/ $(EXTRA_CFLAGS)
+--- src/msql/sort.c.orig Fri Aug 28 17:20:10 1998
++++ src/msql/sort.c Fri Aug 28 17:18:42 1998
+@@ -280,7 +280,7 @@
+ /*
+ ** Create the dummy output table
+ */
+- snprintf(dataPath,MAXPATHLEN,"%s/msqldb/.tmp/%s.tmp",INST_DIR,
++ snprintf(dataPath,MAXPATHLEN,"/var/db/msqldb/.tmp/%s.tmp",
+ entry->table);
+ tmp.dataFD = open(dataPath, O_CREAT|O_RDWR, 0600);
+ bzero(&sblock, sizeof(sblock));
+@@ -328,7 +328,7 @@
+ /*
+ ** Swap the new table into place
+ */
+- snprintf(oldPath,MAXPATHLEN,"%s/msqldb/.tmp/%s.dat",INST_DIR,
++ snprintf(oldPath,MAXPATHLEN,"/var/db/msqldb/.tmp/%s.dat",
+ entry->table);
+ munmap(entry->dataMap, entry->size);
+ close(entry->dataFD);