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>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to