summaryrefslogtreecommitdiff
path: root/korean/helvis/files
diff options
context:
space:
mode:
Diffstat (limited to 'korean/helvis/files')
-rw-r--r--korean/helvis/files/Makefile.inc23
-rw-r--r--korean/helvis/files/patch-Makefile.mix22
-rw-r--r--korean/helvis/files/patch-aa33
-rw-r--r--korean/helvis/files/patch-curses.h12
-rw-r--r--korean/helvis/files/patch-elvrec.c55
5 files changed, 0 insertions, 145 deletions
diff --git a/korean/helvis/files/Makefile.inc b/korean/helvis/files/Makefile.inc
deleted file mode 100644
index 9b9a9e6fdb22..000000000000
--- a/korean/helvis/files/Makefile.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-OBJ= .o
-EXE=
-COM=
-EXTRA= unix$(OBJ)
-EXTRA2=
-LIBS= -ltermcap
-PREFIX?=/usr/local
-BIN= ${PREFIX}/bin
-CC= cc
-CFLAGS= -Dbsd -O -DTERMIOS -DUNIXV=1
-SMALL=
-LARGE=
-OF= -o ""
-RF= -c
-PROGS= helvis$(EXE) ctags$(COM) ref$(COM)
-CHMEM=
-SORT= -DSORT
-RM= rm -f
-CP= cp
-LN= ln -s
-SYS= unx
-DUMMY=
-CFG=
diff --git a/korean/helvis/files/patch-Makefile.mix b/korean/helvis/files/patch-Makefile.mix
deleted file mode 100644
index 29b691e76570..000000000000
--- a/korean/helvis/files/patch-Makefile.mix
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.mix.orig Mon Jan 10 16:51:09 2005
-+++ Makefile.mix Mon Jan 10 16:51:35 2005
-@@ -680,19 +680,10 @@
- $(CP) $(PROGS) $(BIN)
- (cd $(BIN); chmod 755 $(PROGS))
- (cd $(BIN); chown bin $(PROGS))
-- (cd $(BIN); chown root elvprsv$(COM) elvrec$(COM))
-- (cd $(BIN); chmod 4755 elvprsv$(COM) elvrec$(COM))
- -$(LN) $(BIN)/helvis $(BIN)/hvi
- -$(LN) $(BIN)/helvis $(BIN)/hex
- -$(LN) $(BIN)/helvis $(BIN)/hview
- -$(LN) $(BIN)/helvis $(BIN)/hinput
-- test -d /usr/preserve || (mkdir /usr/preserve; chmod 755 /usr/preserve)
-- @if test -d /etc/rc2.d; then \
-- echo $(BIN)/elvprsv /tmp/elv* >/etc/rc2.d/S03elvis; \
-- else \
-- echo "::: YOU STILL NEED TO EDIT THE /ETC/RC FILE, OR WHATEVER,"; \
-- echo "::: TO HAVE TEMP FILES BE PRESERVED AFTER A SYSTEM CRASH."; \
-- fi
- # sh instman.sh $(PROGS)
-
- inst.dos: $(DUMMY)
diff --git a/korean/helvis/files/patch-aa b/korean/helvis/files/patch-aa
deleted file mode 100644
index 45c81b6a9b38..000000000000
--- a/korean/helvis/files/patch-aa
+++ /dev/null
@@ -1,33 +0,0 @@
-*** config.h.orig Wed Apr 5 18:21:19 1995
---- config.h Fri May 24 02:06:52 2002
-***************
-*** 387,395 ****
---- 387,397 ----
- #endif
-
- /* BSD uses bcopy() instead of memcpy() */
-+ /*
- #if BSD && !hpux
- # define memcpy(dest, src, siz) bcopy(src, dest, siz)
- #endif
-+ */
-
- /* BSD uses getwd() instead of getcwd(). The arguments are a little different,
- * but we'll ignore that and hope for the best; adding arguments to the macro
-***************
-*** 417,423 ****
-
- /******************* Names of files and environment vars **********************/
-
-! #ifdef __386BSD__
- # define PRSVDIR "/var/preserve"
- # define PRSVINDEX "/var/preserve/Index"
- # define TMPDIR "/var/tmp"
---- 419,425 ----
-
- /******************* Names of files and environment vars **********************/
-
-! #if defined(__386BSD__) || defined(__FreeBSD__)
- # define PRSVDIR "/var/preserve"
- # define PRSVINDEX "/var/preserve/Index"
- # define TMPDIR "/var/tmp"
diff --git a/korean/helvis/files/patch-curses.h b/korean/helvis/files/patch-curses.h
deleted file mode 100644
index 2c5b95c0681f..000000000000
--- a/korean/helvis/files/patch-curses.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- curses.h Wed Apr 5 11:21:19 1995
-+++ curses.h Mon Jun 4 10:07:51 2007
-@@ -7,6 +7,9 @@
- * kirkenda@cs.pdx.edu
- */
-
-+#if TERMIOS
-+#include <termios.h>
-+#endif
-
- /* This is the header file for a small, fast, fake curses package */
-
diff --git a/korean/helvis/files/patch-elvrec.c b/korean/helvis/files/patch-elvrec.c
deleted file mode 100644
index 0fc758617127..000000000000
--- a/korean/helvis/files/patch-elvrec.c
+++ /dev/null
@@ -1,55 +0,0 @@
---- elvrec.c.orig Mon Mar 21 14:27:37 1994
-+++ elvrec.c Sun Jan 28 20:52:16 2001
-@@ -10,6 +10,7 @@
- */
-
-
-+#include <sys/param.h>
- #include <stdio.h>
- #include "config.h"
- #include "vi.h"
-@@ -22,8 +23,8 @@
- char *basename; /* the name of the file to recover */
- char *outname; /* the name of the file to write to */
- {
-- char pathname[500]; /* full pathname of the file to recover */
-- char line[600]; /* a line from the /usr/preserve/Index file */
-+ char pathname[MAXPATHLEN]; /* full pathname of the file to recover */
-+ char line[MAXPATHLEN]; /* a line from the /usr/preserve/Index file */
- int ch; /* a character from the text being recovered */
- FILE *from; /* the /usr/preserve file, or /usr/preserve/Index */
- FILE *to; /* the user's text file */
-@@ -42,19 +43,15 @@
- if (basename[0] != SLASH)
- # endif
- {
-- ptr = getcwd(pathname, sizeof pathname);
-- if (ptr != pathname)
-- {
-- strcpy(pathname, ptr);
-- }
-- ptr = pathname + strlen(pathname);
-- *ptr++ = SLASH;
-- strcpy(ptr, basename);
-+ if ((ptr = getcwd(pathname, sizeof pathname)) == NULL)
-+ err(1, "getcwd() failed");
-+ snprintf(pathname, sizeof(pathname), "%s/%s", ptr,
-+ basename);
- }
- else
- #endif
- {
-- strcpy(pathname, basename);
-+ strlcpy(pathname, basename, sizeof(pathname));
- }
- }
-
-@@ -67,6 +64,8 @@
- * version of this file.
- */
- from = fopen(PRSVINDEX, "r");
-+ if (!from)
-+ err(1, "fopen() %s failed", PRSVINDEX);
- while (from && fgets(line, sizeof line, from))
- {
- /* strip off the newline from the end of the string */