Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2013 00:05:50 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r248303 - in head: contrib/unvis contrib/vis usr.bin/unvis usr.bin/vis
Message-ID:  <201303150005.r2F05oXK075269@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Fri Mar 15 00:05:50 2013
New Revision: 248303
URL: http://svnweb.freebsd.org/changeset/base/248303

Log:
  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:
  head/contrib/unvis/
     - copied from r247132, vendor/NetBSD/unvis/dist/
  head/contrib/vis/
     - copied from r247132, vendor/NetBSD/vis/dist/
Deleted:
  head/usr.bin/unvis/unvis.1
  head/usr.bin/unvis/unvis.c
  head/usr.bin/vis/extern.h
  head/usr.bin/vis/foldit.c
  head/usr.bin/vis/vis.1
  head/usr.bin/vis/vis.c
Modified:
  head/usr.bin/unvis/Makefile
  head/usr.bin/vis/Makefile

Modified: head/usr.bin/unvis/Makefile
==============================================================================
--- head/usr.bin/unvis/Makefile	Thu Mar 14 23:51:47 2013	(r248302)
+++ head/usr.bin/unvis/Makefile	Fri Mar 15 00:05:50 2013	(r248303)
@@ -3,4 +3,6 @@
 
 PROG=	unvis
 
+.PATH: ${.CURDIR}/../../contrib/unvis
+
 .include <bsd.prog.mk>

Modified: head/usr.bin/vis/Makefile
==============================================================================
--- head/usr.bin/vis/Makefile	Thu Mar 14 23:51:47 2013	(r248302)
+++ head/usr.bin/vis/Makefile	Fri Mar 15 00:05:50 2013	(r248303)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303150005.r2F05oXK075269>