Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+3 -4
View File
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.13 2015/08/23 08:54:12 leot Exp $
# $NetBSD: Makefile,v 1.14 2016/01/20 14:34:35 leot Exp $
DISTNAME= dvtm-0.14
DISTNAME= dvtm-0.15
CATEGORIES= misc
MASTER_SITES= http://www.brain-dump.org/projects/dvtm/
@@ -10,10 +10,9 @@ COMMENT= Dynamic virtual terminal manager
LICENSE= mit
USE_LANGUAGES= c99
NO_CONFIGURE= yes
SUBST_CLASSES+= config
SUBST_STAGE.config= pre-build
SUBST_STAGE.config= pre-configure
SUBST_MESSAGE.config= Fixing config.mk
SUBST_FILES.config= config.mk
SUBST_SED.config= -e 's,/usr/local,${PREFIX},'
+6 -4
View File
@@ -1,6 +1,8 @@
$NetBSD: distinfo,v 1.11 2015/08/23 08:54:12 leot Exp $
$NetBSD: distinfo,v 1.13 2016/01/20 14:34:35 leot Exp $
SHA1 (dvtm-0.14.tar.gz) = 205a2165e70455309f7ed6a6f11b3072fb9b13c3
RMD160 (dvtm-0.14.tar.gz) = d9e04111e0b1a476c3a280ca58f9d7766309ae82
Size (dvtm-0.14.tar.gz) = 35893 bytes
SHA1 (dvtm-0.15.tar.gz) = 9bcec7af79b2adfead88c5513fa19b53dad6e134
RMD160 (dvtm-0.15.tar.gz) = f4222388098891433711020b2739e5756b7c2122
SHA512 (dvtm-0.15.tar.gz) = 48a0c8fd6a50fe5d43414d0223c9f4b9920a31d42fe3bfc428ce1ae7d0e41a41ebe2597eae0824c7c76bfb0e32a13e440c8d5fcdb1886d55d6791fa3fe3fd77b
Size (dvtm-0.15.tar.gz) = 40511 bytes
SHA1 (patch-aa) = 468fdc831372b9c78c9c7f5606f7c6246bb2943f
SHA1 (patch-vt.c) = 5f32e7fee242a701fc5412dc5b031a8c2332dfc8
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-vt.c,v 1.1 2016/01/20 14:34:35 leot Exp $
Avoid a possible bug when colors are encountered (also imported upstream).
--- vt.c.orig 2016-01-09 11:40:56.000000000 +0000
+++ vt.c
@@ -1827,6 +1827,14 @@ static void init_colors(void)
color_pairs_max = MIN(COLOR_PAIRS, MAX_COLOR_PAIRS);
if (COLORS)
color2palette = calloc((COLORS + 2) * (COLORS + 2), sizeof(short));
+ /*
+ * XXX: On undefined color-pairs NetBSD curses pair_content() set fg
+ * and bg to default colors while ncurses set them respectively to
+ * 0 and 0. Initialize all color-pairs in order to have consistent
+ * behaviour despite the implementation used.
+ */
+ for (short i = 1; i < COLOR_PAIRS; i++)
+ init_pair(i, 0, 0);
vt_color_reserve(COLOR_WHITE, COLOR_BLACK);
}