Update to version 0.15. Lightly tested on amd64. Regarding the patch removals:
patch-config_mk: The PREFIX and MANPREFIX in here aren't used since installation is done via our own do-install target. patch-dvtm_c: The ifdef guards around MIN/MAX were unneeded on amd64, but I didn't test on other platforms. As for the 'sys/signal.h' include: we can get SIGWINCH by defining _BSD_SOURCE (see Makefile), so do that instead. patch-vt_c: alloca(3) hasn't been used since 1fbfb22c (Oct. 16, 2014), so this patch is no longer applicable. Index: Makefile =================================================================== RCS file: /cvs/ports/misc/dvtm/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- Makefile 28 Dec 2015 16:18:53 -0000 1.16 +++ Makefile 28 Jan 2016 04:06:11 -0000 @@ -2,7 +2,7 @@ COMMENT= tiling window management for the console -DISTNAME= dvtm-0.14 +DISTNAME= dvtm-0.15 CATEGORIES= misc HOMEPAGE= http://www.brain-dump.org/projects/dvtm/ @@ -15,6 +15,9 @@ WANTLIB= c ncursesw util MASTER_SITES= ${HOMEPAGE} NO_TEST= Yes + +# for SIGWINCH +MAKE_FLAGS= CPPFLAGS=-D_BSD_SOURCE do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dvtm ${PREFIX}/bin Index: distinfo =================================================================== RCS file: /cvs/ports/misc/dvtm/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 28 Dec 2015 16:18:53 -0000 1.7 +++ distinfo 28 Jan 2016 04:06:11 -0000 @@ -1,2 +1,2 @@ -SHA256 (dvtm-0.14.tar.gz) = ipuzQfikxXi4OeItmnB/BTonrm3xUVjhb0/ueH5DdHo= -SIZE (dvtm-0.14.tar.gz) = 35893 +SHA256 (dvtm-0.15.tar.gz) = jyAVwF4q2C8SrkzxKzY9NPUnpLvIw2lmfyOeRULh5RA= +SIZE (dvtm-0.15.tar.gz) = 40511 Index: patches/patch-config_mk =================================================================== RCS file: patches/patch-config_mk diff -N patches/patch-config_mk --- patches/patch-config_mk 28 Dec 2015 16:18:53 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,21 +0,0 @@ -$OpenBSD: patch-config_mk,v 1.8 2015/12/28 16:18:53 jasper Exp $ ---- config.mk.orig Thu Feb 19 17:51:23 2015 -+++ config.mk Mon Dec 28 16:58:31 2015 -@@ -3,15 +3,14 @@ VERSION = 0.14 - - # Customize below to fit your system - --PREFIX ?= /usr/local --MANPREFIX = ${PREFIX}/share/man -+#PREFIX ?= /usr/local -+#MANPREFIX = ${PREFIX}/share/man - # specify your systems terminfo directory - # leave empty to install into your home folder - TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo - - INCS = -I. - LIBS = -lc -lutil -lncursesw --CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED - CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG ${CPPFLAGS} - LDFLAGS += ${LIBS} - Index: patches/patch-dvtm_c =================================================================== RCS file: patches/patch-dvtm_c diff -N patches/patch-dvtm_c --- patches/patch-dvtm_c 28 Dec 2015 16:18:53 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,31 +0,0 @@ -$OpenBSD: patch-dvtm_c,v 1.3 2015/12/28 16:18:53 jasper Exp $ - -Add sys/signal.h for SIGWINCH - ---- dvtm.c.orig Mon Dec 28 16:40:33 2015 -+++ dvtm.c Mon Dec 28 16:57:53 2015 -@@ -36,6 +36,11 @@ - #endif - #include "vt.h" - -+/* Needed for SIGWINCH */ -+#ifdef __OpenBSD__ -+#include <sys/signal.h> -+#endif -+ - #ifdef PDCURSES - int ESCDELAY; - #endif -@@ -164,8 +169,12 @@ typedef struct { - } Editor; - - #define LENGTH(arr) (sizeof(arr) / sizeof((arr)[0])) -+#ifndef MAX - #define MAX(x, y) ((x) > (y) ? (x) : (y)) -+#endif -+#ifndef MIN - #define MIN(x, y) ((x) < (y) ? (x) : (y)) -+#endif - #define TAGMASK ((1 << LENGTH(tags)) - 1) - - #ifdef NDEBUG Index: patches/patch-vt_c =================================================================== RCS file: patches/patch-vt_c diff -N patches/patch-vt_c --- patches/patch-vt_c 28 Dec 2015 16:18:53 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-vt_c,v 1.1 2015/12/28 16:18:53 jasper Exp $ ---- vt.c.orig Thu Feb 19 17:51:23 2015 -+++ vt.c Mon Dec 28 16:38:05 2015 -@@ -48,6 +48,10 @@ - # include "forkpty-sunos.c" - #endif - -+#if defined(__GNUC__) && defined(__STRICT_ANSI__) -+#define alloca(size) __builtin_alloca(size) -+#endif -+ - #ifndef NCURSES_ATTR_SHIFT - # define NCURSES_ATTR_SHIFT 8 - #endif