summaryrefslogtreecommitdiffstats
path: root/editors/thoteditor/files
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1999-09-27 16:40:53 +0000
committerchuckr <chuckr@FreeBSD.org>1999-09-27 16:40:53 +0000
commitd535e91dc92507dfeb49ab2f5462e8ab35e909bb (patch)
tree847b6bd68878039d16d41ef9ab2fa51906f57e24 /editors/thoteditor/files
parent58e81f801411bce43afdaab564a97b71af974752 (diff)
downloadFreeBSD-ports-d535e91dc92507dfeb49ab2f5462e8ab35e909bb.zip
FreeBSD-ports-d535e91dc92507dfeb49ab2f5462e8ab35e909bb.tar.gz
Finally fix all parts of thoteditor.
Diffstat (limited to 'editors/thoteditor/files')
-rw-r--r--editors/thoteditor/files/patch-ac12
-rw-r--r--editors/thoteditor/files/patch-af11
-rw-r--r--editors/thoteditor/files/patch-ag34
3 files changed, 55 insertions, 2 deletions
diff --git a/editors/thoteditor/files/patch-ac b/editors/thoteditor/files/patch-ac
index 806f42c..45d8e0e 100644
--- a/editors/thoteditor/files/patch-ac
+++ b/editors/thoteditor/files/patch-ac
@@ -1,6 +1,14 @@
--- ../thot/Makefile.in.orig Wed Nov 19 05:41:49 1997
-+++ ../thot/Makefile.in Sat Sep 25 11:53:28 1999
-@@ -54,30 +54,32 @@
++++ ../thot/Makefile.in Sun Sep 26 23:08:12 1999
+@@ -27,6 +27,7 @@
+ CONFIGFILES= \
+ XKeysymDB thot.ini thot.color thot.pattern thot.keyboard \
+ fr-thotdialogue en-appdialogue en-compildialogue en-corrdialogue \
++ en-cssmessage \
+ en-drawdialogue en-grmdialogue en-inddialogue en-itfdialogue \
+ en-libdialogue en-printdialogue en-prsdialogue en-strdialogue \
+ en-thotdialogue en-thotmessage en-thotversion en-transdialogue \
+@@ -54,30 +55,32 @@
$(RM) *.o EDITORAPP.c EDITOR.A
install : all
diff --git a/editors/thoteditor/files/patch-af b/editors/thoteditor/files/patch-af
new file mode 100644
index 0000000..fa722a3
--- /dev/null
+++ b/editors/thoteditor/files/patch-af
@@ -0,0 +1,11 @@
+--- ../thotlib/include/sysdep.h.orig Sat Sep 25 15:08:35 1999
++++ ../thotlib/include/sysdep.h Sat Sep 25 15:10:04 1999
+@@ -1239,7 +1239,7 @@
+ */
+ #ifndef CACHE_FILE_PREFIX
+ #ifdef unix
+-#define CACHE_FILE_PREFIX "/usr/wsrc/"
++#define CACHE_FILE_PREFIX "/usr/tmp/"
+ #endif
+ #endif
+ /*
diff --git a/editors/thoteditor/files/patch-ag b/editors/thoteditor/files/patch-ag
new file mode 100644
index 0000000..b935d6e
--- /dev/null
+++ b/editors/thoteditor/files/patch-ag
@@ -0,0 +1,34 @@
+--- ../thotlib/base/registry.c.orig Mon Sep 27 00:32:18 1999
++++ ../thotlib/base/registry.c Mon Sep 27 00:34:52 1999
+@@ -833,6 +833,7 @@
+ PathBuffer path;
+ char *home_dir;
+ char filename[MAX_PATH];
++ char homecmd[MAX_PATH];
+ char *my_path;
+ char *dir_end = NULL;
+ char *appName;
+@@ -1084,13 +1085,22 @@
+ dir_end -= 3;
+ }
+ else
+- fprintf (stderr, "System wide %s not found at %s\n", THOT_INI_FILENAME, &filename[0]);
++ fprintf (stderr, " ");
++/* fprintf (stderr, "System wide %s not found at %s\n", THOT_INI_FILENAME, &filename[0]); */
+
+ if (home_dir != NULL)
+ {
+ strcpy (filename, home_dir);
+ strcat (filename, DIR_STR);
+ strcat (filename, THOT_RC_FILENAME);
++ if (!TtaFileExist (&filename[0]))
++ {
++ sprintf(homecmd,"/bin/cp /usr/local/share/thot/config/thot.ini %s%s.thotrc\n",home_dir,DIR_STR);
++ fprintf(stderr,"Copying system thot.ini into ~/.thotrc.\n");
++ system(homecmd);
++ sprintf(homecmd,"/bin/chmod u+w %s%s.thotrc\n",home_dir,DIR_STR);
++ system(homecmd);
++ }
+ if (TtaFileExist (&filename[0]))
+ {
+ #ifdef DEBUG_REGISTRY
OpenPOWER on IntegriCloud