# $Id: UPDATE,v 1.2 2012/11/11 10:29:47 dhn Exp $ 2012-11-11 Dennis Herrmann <d...@freebsd.org>
* The Maintainer has no more time to work at this port. So I take the maintainership now. [04] * Remove: "# LGPL: madtty.c" in the Makefile, because madtty.c is no longer a part of the package. 2012-11-10 Dennis Herrmann <d...@freebsd.org> * Update to 0.8 * Update/Fix some patches - Updated: patches/patch-config_mk: [01] - Fix: patches/patch-dvtm_c: [02] - Fix: patches/patch-vt_c: [03] [01] Update for the new release [02] "warning: comparison is always false due to limited range of data type" [03] "warning: sprintf() is often misused, please use snprintf()" [04] Approved by: Emilien Gaspar <g...@dud-t.org> (old maintainer), (via mail) EOF
Index: Makefile =================================================================== RCS file: /cvs/ports/misc/dvtm/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 24 Apr 2012 19:28:31 -0000 1.14 +++ Makefile 4 Dec 2012 21:34:28 -0000 @@ -2,15 +2,13 @@ COMMENT= tiling window management for the console -DISTNAME= dvtm-0.6 -REVISION= 1 +DISTNAME= dvtm-0.8 CATEGORIES= misc HOMEPAGE= http://www.brain-dump.org/projects/dvtm/ -MAINTAINER= Emilien Gaspar <g...@dud-t.org> +MAINTAINER= Dennis Herrmann <d...@freebsd.org> # MIT/X -# LGPL: madtty.c PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes Index: distinfo =================================================================== RCS file: /cvs/ports/misc/dvtm/distinfo,v retrieving revision 1.5 diff -u -r1.5 distinfo --- distinfo 24 Nov 2010 08:19:24 -0000 1.5 +++ distinfo 4 Dec 2012 21:34:28 -0000 @@ -1,5 +1,2 @@ -MD5 (dvtm-0.6.tar.gz) = 23ejdEho3ZGlrlrZi333CQ== -RMD160 (dvtm-0.6.tar.gz) = GSAcgt8YpMzPRSKKoFZSnJ9KFsM= -SHA1 (dvtm-0.6.tar.gz) = XVtcdRjq2fCLrijAgb8qu7RHKTM= -SHA256 (dvtm-0.6.tar.gz) = lhCSLCBnjKls0tm/3o+Xu8KnvV5TbVAVxW34EkaKBIE= -SIZE (dvtm-0.6.tar.gz) = 26542 +SHA256 (dvtm-0.8.tar.gz) = TIS3wy9s1HbvkhUMTByiEYNu0A8WyovdQImTORKzmng= +SIZE (dvtm-0.8.tar.gz) = 27543 Index: patches/patch-config_mk =================================================================== RCS file: /cvs/ports/misc/dvtm/patches/patch-config_mk,v retrieving revision 1.7 diff -u -r1.7 patch-config_mk --- patches/patch-config_mk 24 Nov 2010 13:09:11 -0000 1.7 +++ patches/patch-config_mk 4 Dec 2012 21:34:28 -0000 @@ -1,7 +1,6 @@ -$OpenBSD: patch-config_mk,v 1.7 2010/11/24 13:09:11 jasper Exp $ ---- config.mk.orig Fri Oct 8 18:06:05 2010 -+++ config.mk Wed Nov 24 09:28:42 2010 -@@ -3,15 +3,15 @@ VERSION = 0.6 +--- config.mk.orig Sat Nov 10 21:51:59 2012 ++++ config.mk Sat Nov 10 21:53:26 2012 +@@ -3,11 +3,12 @@ # Customize below to fit your system @@ -10,21 +9,22 @@ +#PREFIX = /usr/local +MANPREFIX = ${PREFIX}/man --INCS = -I. -I/usr/include -I/usr/local/include +-INCS = -I. -I/usr/include -I/usr/local/include -LIBS = -lc -lutil -lncursesw --#LIBS = -lc -lutil -lncurses +INCS = -I. -I/usr/include +#LIBS = -lc -lutil -lncursesw +LIBS = -lc -lutil -lncurses + # NetBSD + #LIBS = -lc -lutil -lcurses + # AIX +@@ -15,9 +16,9 @@ + # Cygwin + #INCS += -I/usr/include/ncurses -CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -LDFLAGS += -L/usr/lib -L/usr/local/lib ${LIBS} +CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG +LDFLAGS += -L/usr/lib ${LIBS} - - # Mouse handling - CFLAGS += -DCONFIG_MOUSE -@@ -20,4 +20,4 @@ CFLAGS += -DCONFIG_STATUSBAR DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall Index: patches/patch-dvtm_c =================================================================== RCS file: patches/patch-dvtm_c diff -N patches/patch-dvtm_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-dvtm_c 4 Dec 2012 21:34:28 -0000 @@ -0,0 +1,11 @@ +--- dvtm.c.orig Sat Nov 10 21:55:39 2012 ++++ dvtm.c Sat Nov 10 21:55:52 2012 +@@ -408,7 +408,7 @@ + short fg = -1, bg = -1; + const ColorRule *r; + +- for (i = 0; i < countof(colorrules); i++) { ++ for (int i = 0; i < countof(colorrules); i++) { + r = &colorrules[i]; + if (strstr(c->title, r->title)) { + attrs = r->attrs; Index: patches/patch-madtty_c =================================================================== RCS file: patches/patch-madtty_c diff -N patches/patch-madtty_c --- patches/patch-madtty_c 24 Apr 2012 19:28:31 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-madtty_c,v 1.1 2012/04/24 19:28:31 naddy Exp $ ---- madtty.c.orig Tue Apr 24 21:20:01 2012 -+++ madtty.c Tue Apr 24 21:22:45 2012 -@@ -47,6 +47,10 @@ - - #include "madtty.h" - -+#if defined(__GNUC__) && defined(__STRICT_ANSI__) -+#define alloca(size) __builtin_alloca(size) -+#endif -+ - #ifndef NCURSES_ATTR_SHIFT - # define NCURSES_ATTR_SHIFT 8 - #endif Index: patches/patch-vt_c =================================================================== RCS file: patches/patch-vt_c diff -N patches/patch-vt_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-vt_c 4 Dec 2012 21:34:28 -0000 @@ -0,0 +1,22 @@ +--- vt.c.orig Wed Aug 1 13:28:26 2012 ++++ vt.c Sat Nov 10 22:21:48 2012 +@@ -46,6 +46,10 @@ + # include "forkpty-aix.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 +@@ -1452,7 +1456,7 @@ + static void send_curs(Vt *t) + { + char keyseq[16]; +- sprintf(keyseq, "\e[%d;%dR", (int)(t->curs_row - t->lines), t->curs_col); ++ printf(keyseq, "\e[%d;%dR", (int)(t->curs_row - t->lines), t->curs_col); + vt_write(t, keyseq, strlen(keyseq)); + } +
pgpksNr0xYIKL.pgp
Description: PGP signature