aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/44bsd-more
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2004-03-09 05:40:35 +0800
committermarkm <markm@FreeBSD.org>2004-03-09 05:40:35 +0800
commit6f142c45ca27c4765e16794842e9fe145ef1628e (patch)
tree2f57591da4b8d7a937c094b13b7c9025637c31d0 /sysutils/44bsd-more
parentd702ed60b43d80b319de1caf6ce738ad7151c7e0 (diff)
downloadfreebsd-ports-gnome-6f142c45ca27c4765e16794842e9fe145ef1628e.tar.gz
freebsd-ports-gnome-6f142c45ca27c4765e16794842e9fe145ef1628e.tar.zst
freebsd-ports-gnome-6f142c45ca27c4765e16794842e9fe145ef1628e.zip
Fix for NULL.
Diffstat (limited to 'sysutils/44bsd-more')
-rw-r--r--sysutils/44bsd-more/Makefile2
-rw-r--r--sysutils/44bsd-more/files/patch-Makefile11
-rw-r--r--sysutils/44bsd-more/files/patch-less.h11
3 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/44bsd-more/Makefile b/sysutils/44bsd-more/Makefile
index f13fe3b117a3..f2c3d2028266 100644
--- a/sysutils/44bsd-more/Makefile
+++ b/sysutils/44bsd-more/Makefile
@@ -23,7 +23,7 @@ MAN1= 44bsd-more.1
RELDATE= 20000521
post-extract:
- -cd ${WRKSRC} && co -d${RELDATE} RCS/*,v
+ -cd ${WRKSRC} && co RCS/*,v
post-patch:
${REINPLACE_CMD} -e \
diff --git a/sysutils/44bsd-more/files/patch-Makefile b/sysutils/44bsd-more/files/patch-Makefile
new file mode 100644
index 000000000000..5daca79cabb8
--- /dev/null
+++ b/sysutils/44bsd-more/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile 2000/05/23 04:17:57 1.15
++++ Makefile 2004/03/08 21:36:24
+@@ -6,7 +6,7 @@
+ CFLAGS+=-I${.CURDIR} -I${.OBJDIR} -DTERMIOS
+ SRCS= ch.c command.c help.c input.c line.c linenum.c macro.c main.c marks.c \
+ ncommand.c option.c os.c output.c position.c prim.c screen.c search.c \
+- signal.c tags.c ttyin.c
++ signal.c tags.c ttyin.c defrc.h
+ DPADD= ${LIBTERMCAP}
+ LDADD= -ltermcap
+
diff --git a/sysutils/44bsd-more/files/patch-less.h b/sysutils/44bsd-more/files/patch-less.h
new file mode 100644
index 000000000000..f1ec835592fb
--- /dev/null
+++ b/sysutils/44bsd-more/files/patch-less.h
@@ -0,0 +1,11 @@
+--- less.h 2000/05/22 23:34:52 1.8
++++ less.h 2004/03/08 21:33:32
+@@ -114,7 +114,7 @@
+ * its users aren't careful. Access through the macros is considered
+ * careful.
+ */
+-GLOBAL(enum error erreur, NULL);
++GLOBAL(enum error erreur, E_OK);
+ GLOBAL(char *errstr, NULL); /* must point be null or free()'ble */
+
+ #define SETERR(e) do { \