5 Commits

Author SHA1 Message Date
Jay Larson
ea28b05873 The following changes were made:
* Added patch to change tmp directory to /tmp
  * Added /tmp directory as part of files.tar.gz
2017-04-22 12:18:44 -05:00
Jay Larson
b39f050299 Changed dependency from libncurses to ncurses 2017-03-30 16:01:54 -05:00
Jay Larson
a8fb6adac5 The following changes were made:
* Corrected dependency ( ncurses -> libncurses )
2017-03-20 11:42:07 -05:00
Jay Larson
047f3ba4e5 Rebuilt after modifying Makefile.snaplinux to fix broken symlinks in manpages 2017-02-22 10:00:10 -06:00
Jay Larson
4c04074e61 Corrected patch loop in Makefile 2017-02-21 14:29:40 -06:00
2 changed files with 61 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ ARCH = x86_64
URL = http://ex-vi.sourceforge.net/ URL = http://ex-vi.sourceforge.net/
BRIEF = Text editor BRIEF = Text editor
DESC = The vi editor is one of the most common text editors on Unix. DESC = The vi editor is one of the most common text editors on Unix.
SNAPVER = 2 SNAPVER = 7
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -39,7 +39,8 @@ $(SRCDIR)/Makefile: $(ARCHIVE)
@touch $(SRCDIR)/Makefile @touch $(SRCDIR)/Makefile
$(SRCDIR)/ex: $(SRCDIR)/Makefile $(SRCDIR)/ex: $(SRCDIR)/Makefile
@cd $(SRCDIR) && for patch in `find $(PATCHDIR) -name \*.patch`; do \ @cd $(SRCDIR) && \
for patch in `find $(PATCHDIR) -name \*.patch|sort`; do \
patch --verbose -Np1 -i $$patch; \ patch --verbose -Np1 -i $$patch; \
done done
@cd $(SRCDIR) && make @cd $(SRCDIR) && make
@@ -51,11 +52,8 @@ $(ROOT): $(SRCDIR)/ex
mkdir -v $(ROOT); \ mkdir -v $(ROOT); \
fi fi
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
install -v -d -m 1777 $(ROOT)/tmp
test: $(ROOT)
@cd $(SRCDIR); \
make test
clean: clean:
@rm -rvf $(ROOT) \ @rm -rvf $(ROOT) \

View File

@@ -0,0 +1,56 @@
diff -Naur a/ex.1 b/ex.1
--- a/ex.1 2005-02-17 06:39:36.000000000 -0600
+++ b/ex.1 2017-04-22 12:10:54.272000000 -0500
@@ -1944,10 +1944,10 @@
.B $HOME/.exrc
editor startup file
.TP
-.B /var/tmp/Ex\fInnnnnnnnnn\fP
+.B /tmp/Ex\fInnnnnnnnnn\fP
editor temporary
.TP
-.B /var/tmp/Rx\fInnnnnnnnnn\fP
+.B /tmp/Rx\fInnnnnnnnnn\fP
named buffer temporary
.TP
.B /var/preserve
diff -Naur a/expreserve.c b/expreserve.c
--- a/expreserve.c 2005-03-04 06:44:46.000000000 -0600
+++ b/expreserve.c 2017-04-22 12:12:30.200000000 -0500
@@ -149,7 +149,7 @@
#ifdef notdef
#define TMP "/tmp"
#else
-#define TMP "/var/tmp"
+#define TMP "/tmp"
#endif
#ifndef VMUNIX
diff -Naur a/exrecover.c b/exrecover.c
--- a/exrecover.c 2005-03-04 06:44:46.000000000 -0600
+++ b/exrecover.c 2017-04-22 12:12:50.640000000 -0500
@@ -121,7 +121,7 @@
#endif
#endif
-#define TMP "/var/tmp"
+#define TMP "/tmp"
#ifdef LANGMSG
nl_catd catd;
diff -Naur a/vi.1 b/vi.1
--- a/vi.1 2005-02-17 06:39:36.000000000 -0600
+++ b/vi.1 2017-04-22 12:11:10.640000000 -0500
@@ -973,10 +973,10 @@
.B $HOME/.exrc
editor startup file
.TP
-.B /var/tmp/Ex\fInnnnnnnnnn\fP
+.B /tmp/Ex\fInnnnnnnnnn\fP
editor temporary
.TP
-.B /var/tmp/Rx\fInnnnnnnnnn\fP
+.B /tmp/Rx\fInnnnnnnnnn\fP
named buffer temporary
.TP
.B /var/preserve