svn commit: r249561 - in stable/9/usr.bin: unvis vis

Brooks Davis brooks at FreeBSD.org
Tue Apr 16 19:28:01 UTC 2013


Author: brooks
Date: Tue Apr 16 19:28:00 2013
New Revision: 249561
URL: http://svnweb.freebsd.org/changeset/base/249561

Log:
  MFC r248303:
  
  Replace our (un)vis(1) commands with implementations from NetBSD to
  match our import of the (un)vis(3) APIs.
  
  This adds support for multibyte encoding and the -h and -m flags which
  support HTTP and MIME encoding respectively.
  
  PR:		bin/175418
  Obtained from:	NetBSD

Added:
     - copied from r249557, head/contrib/unvis/
     - copied from r249557, head/contrib/vis/
Directory Properties:
  stable/9/contrib/unvis/   (props changed)
  stable/9/contrib/vis/   (props changed)
Deleted:
  stable/9/usr.bin/unvis/unvis.1
  stable/9/usr.bin/unvis/unvis.c
  stable/9/usr.bin/vis/extern.h
  stable/9/usr.bin/vis/foldit.c
  stable/9/usr.bin/vis/vis.1
  stable/9/usr.bin/vis/vis.c
Modified:
  stable/9/usr.bin/unvis/Makefile
  stable/9/usr.bin/vis/Makefile
Directory Properties:
  stable/9/usr.bin/unvis/   (props changed)
  stable/9/usr.bin/vis/   (props changed)

Modified: stable/9/usr.bin/unvis/Makefile
==============================================================================
--- stable/9/usr.bin/unvis/Makefile	Tue Apr 16 19:27:09 2013	(r249560)
+++ stable/9/usr.bin/unvis/Makefile	Tue Apr 16 19:28:00 2013	(r249561)
@@ -3,4 +3,6 @@
 
 PROG=	unvis
 
+.PATH: ${.CURDIR}/../../contrib/unvis
+
 .include <bsd.prog.mk>

Modified: stable/9/usr.bin/vis/Makefile
==============================================================================
--- stable/9/usr.bin/vis/Makefile	Tue Apr 16 19:27:09 2013	(r249560)
+++ stable/9/usr.bin/vis/Makefile	Tue Apr 16 19:28:00 2013	(r249561)
@@ -1,6 +1,10 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
+# $FreeBSD$
 
 PROG=	vis
 SRCS=	vis.c foldit.c
 
+.PATH: ${.CURDIR}/../../contrib/vis
+CFLAGS+=	-I${.CURDIR}/../../contrib/vis
+
 .include <bsd.prog.mk>


More information about the svn-src-stable-9 mailing list