From f0b1a0388203e37c54adcfc05ff42e7aabb0dfa9 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 30 Mar 2013 21:57:25 +0000 Subject: General cleanup, via a distfile patch. - NULL is a pointer. Don't use it for '\0', which is a character. - Silence warnings about unused variables. - Silence clang warnings about format strings. - Fix up the makefile and configure logic, rolling in patch-aa and patch-ab. Make the configure script report what it's doing instead of making wrong decisions silently. - Fix broken build when using system curses instead of the builtin curses subset. (This is not the default, nor apparently recommended, but can happen if the configure script doesn't like you.) - Bump PKGREVISION. --- editors/easyedit/patches/patch-ab | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 editors/easyedit/patches/patch-ab (limited to 'editors/easyedit/patches/patch-ab') diff --git a/editors/easyedit/patches/patch-ab b/editors/easyedit/patches/patch-ab deleted file mode 100644 index d4d420a8854..00000000000 --- a/editors/easyedit/patches/patch-ab +++ /dev/null @@ -1,37 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2011/10/03 00:45:47 dholland Exp $ - -- find netbsd's terminfo -- configure for pkgsrc - ---- create.make.orig 2002-09-23 04:18:30.000000000 +0000 -+++ create.make -@@ -31,7 +31,7 @@ fi - - # test for terminfo directory (exists on SysV systems) - --if [ -d /usr/lib/terminfo -o -d /usr/share/lib/terminfo -o -d /usr/share/terminfo ] -+if [ -d /usr/lib/terminfo -o -d /usr/share/lib/terminfo -o -d /usr/share/terminfo -o -f /usr/share/misc/terminfo.db ] - then - terminfo_exists="" - else -@@ -267,16 +267,16 @@ echo "all : $TARGET" >> make.local - cat >> make.local << EOF - - curses : ee.c -- cc ee.c -o ee \$(CFLAGS) -lcurses -+ \$(CC) ee.c -o ee \$(CFLAGS) -lcurses - - ee : ee.o new_curse.o -- cc -o ee ee.o new_curse.o \$(CFLAGS) -+ \$(CC) -o ee ee.o new_curse.o \$(CFLAGS) - - ee.o : ee.c new_curse.h -- cc -c ee.c \$(DEFINES) \$(CFLAGS) -+ \$(CC) -c ee.c \$(DEFINES) \$(CFLAGS) - - new_curse.o : new_curse.c new_curse.h -- cc new_curse.c -c \$(DEFINES) \$(CFLAGS) -+ \$(CC) new_curse.c -c \$(DEFINES) \$(CFLAGS) - - EOF - -- cgit v1.2.3