From 6f142c45ca27c4765e16794842e9fe145ef1628e Mon Sep 17 00:00:00 2001 From: markm Date: Mon, 8 Mar 2004 21:40:35 +0000 Subject: Fix for NULL. --- misc/44bsd-more/Makefile | 2 +- misc/44bsd-more/files/patch-Makefile | 11 +++++++++++ misc/44bsd-more/files/patch-less.h | 11 +++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 misc/44bsd-more/files/patch-Makefile create mode 100644 misc/44bsd-more/files/patch-less.h (limited to 'misc') diff --git a/misc/44bsd-more/Makefile b/misc/44bsd-more/Makefile index f13fe3b..f2c3d20 100644 --- a/misc/44bsd-more/Makefile +++ b/misc/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/misc/44bsd-more/files/patch-Makefile b/misc/44bsd-more/files/patch-Makefile new file mode 100644 index 0000000..5daca79 --- /dev/null +++ b/misc/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/misc/44bsd-more/files/patch-less.h b/misc/44bsd-more/files/patch-less.h new file mode 100644 index 0000000..f1ec835 --- /dev/null +++ b/misc/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 { \ -- cgit v1.1