vis(3) compat files were removed prematurely from {DragonFly,Free,Net}BSD. Add

them back, per SourceForge bug #2838408.
This commit is contained in:
Tiago Cunha 2009-08-16 19:48:17 +00:00
parent a2a8518f74
commit 622e018570

8
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh #!/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`} TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
@ -196,11 +196,12 @@ EOF
#define HAVE_STRLCPY #define HAVE_STRLCPY
#define HAVE_STRTONUM #define HAVE_STRTONUM
#define HAVE_STRSEP #define HAVE_STRSEP
#define HAVE_VIS
EOF EOF
cat <<EOF >>$CONFIG_MK cat <<EOF >>$CONFIG_MK
LIBS+= -lcurses -lcrypt -lutil LIBS+= -lcurses -lcrypt -lutil
SRCS+= osdep-freebsd.c \ SRCS+= osdep-freebsd.c \
compat/vis.c \
compat/unvis.c \
compat/imsg-buffer.c \ compat/imsg-buffer.c \
compat/imsg.c compat/imsg.c
EOF EOF
@ -222,7 +223,6 @@ EOF
#define HAVE_STRLCPY #define HAVE_STRLCPY
#define HAVE_STRSEP #define HAVE_STRSEP
#define HAVE_UTIL_H #define HAVE_UTIL_H
#define HAVE_VIS
EOF EOF
cat <<EOF >>$CONFIG_MK cat <<EOF >>$CONFIG_MK
CPPFLAGS+= -I/usr/pkg/include CPPFLAGS+= -I/usr/pkg/include
@ -230,6 +230,8 @@ LDFLAGS+= -L/usr/pkg/lib
LIBS+= -lncurses -lcrypt -lutil LIBS+= -lncurses -lcrypt -lutil
SRCS+= osdep-netbsd.c \ SRCS+= osdep-netbsd.c \
compat/strtonum.c \ compat/strtonum.c \
compat/vis.c \
compat/unvis.c \
compat/imsg-buffer.c \ compat/imsg-buffer.c \
compat/imsg.c compat/imsg.c
EOF EOF