From owner-svn-ports-all@freebsd.org Mon Aug 8 05:22:34 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FA08BB190E; Mon, 8 Aug 2016 05:22:34 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E525D1D2D; Mon, 8 Aug 2016 05:22:33 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u785MXi4000886; Mon, 8 Aug 2016 05:22:33 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u785MXSS000885; Mon, 8 Aug 2016 05:22:33 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201608080522.u785MXSS000885@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Mon, 8 Aug 2016 05:22:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419797 - head/net/tcpview/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 05:22:34 -0000 Author: cy Date: Mon Aug 8 05:22:32 2016 New Revision: 419797 URL: https://svnweb.freebsd.org/changeset/ports/419797 Log: Add patch to support synth. Submitted by: marino@ Added: head/net/tcpview/files/patch-ostype (contents, props changed) Added: head/net/tcpview/files/patch-ostype ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/tcpview/files/patch-ostype Mon Aug 8 05:22:32 2016 (r419797) @@ -0,0 +1,13 @@ +Workaround if /etc/motd is missing + +--- ostype.orig 1993-04-19 19:18:37.000000000 +0300 ++++ ostype +@@ -6,6 +6,8 @@ + set os="UNKNOWN" + if ( -f /etc/motd ) then + set os=`awk -f ostype.awk /etc/motd` ++else ++ set os=$(uname -a | awk -f ostype.awk /tmp/motd) + endif + if ($os == "") exit 1 + if ($os == "UNKNOWN") then