summaryrefslogtreecommitdiff
path: root/editors/easyedit/patches/patch-ab
diff options
context:
space:
mode:
authordholland <dholland>2013-03-30 21:57:25 +0000
committerdholland <dholland>2013-03-30 21:57:25 +0000
commitf0b1a0388203e37c54adcfc05ff42e7aabb0dfa9 (patch)
tree5b1487267d8fbeccfed9b18d2395a9c8d593d27d /editors/easyedit/patches/patch-ab
parent7b6662c96c035da53fdb6d15727a1c314f2f1a03 (diff)
downloadpkgsrc-f0b1a0388203e37c54adcfc05ff42e7aabb0dfa9.tar.gz
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.
Diffstat (limited to 'editors/easyedit/patches/patch-ab')
-rw-r--r--editors/easyedit/patches/patch-ab37
1 files changed, 0 insertions, 37 deletions
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
-