From 622e0185700a5122b0e8e14092b146484b1decab Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 16 Aug 2009 19:48:17 +0000 Subject: [PATCH] vis(3) compat files were removed prematurely from {DragonFly,Free,Net}BSD. Add them back, per SourceForge bug #2838408. --- configure | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index f37abe3c..ff1efe7c 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.24 2009-08-16 16:15:53 nicm Exp $ +# $Id: configure,v 1.25 2009-08-16 19:48:17 tcunha Exp $ TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`} @@ -196,11 +196,12 @@ EOF #define HAVE_STRLCPY #define HAVE_STRTONUM #define HAVE_STRSEP -#define HAVE_VIS EOF cat <>$CONFIG_MK LIBS+= -lcurses -lcrypt -lutil SRCS+= osdep-freebsd.c \ + compat/vis.c \ + compat/unvis.c \ compat/imsg-buffer.c \ compat/imsg.c EOF @@ -222,7 +223,6 @@ EOF #define HAVE_STRLCPY #define HAVE_STRSEP #define HAVE_UTIL_H -#define HAVE_VIS EOF cat <>$CONFIG_MK CPPFLAGS+= -I/usr/pkg/include @@ -230,6 +230,8 @@ LDFLAGS+= -L/usr/pkg/lib LIBS+= -lncurses -lcrypt -lutil SRCS+= osdep-netbsd.c \ compat/strtonum.c \ + compat/vis.c \ + compat/unvis.c \ compat/imsg-buffer.c \ compat/imsg.c EOF