From owner-svn-ports-all@freebsd.org Sun Nov 27 23:20:25 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 83591C599EF; Sun, 27 Nov 2016 23:20:25 +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 531743161; Sun, 27 Nov 2016 23:20:25 +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 uARNKOoc042127; Sun, 27 Nov 2016 23:20:24 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uARNKOqg042126; Sun, 27 Nov 2016 23:20:24 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201611272320.uARNKOqg042126@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Sun, 27 Nov 2016 23:20:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427277 - head/print/xpp/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.23 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: Sun, 27 Nov 2016 23:20:25 -0000 Author: cy Date: Sun Nov 27 23:20:24 2016 New Revision: 427277 URL: https://svnweb.freebsd.org/changeset/ports/427277 Log: Fix build under clang 3.9.0 (in -CURRENT). PR: 214649 Modified: head/print/xpp/files/patch-xpp.cxx Modified: head/print/xpp/files/patch-xpp.cxx ============================================================================== --- head/print/xpp/files/patch-xpp.cxx Sun Nov 27 22:58:23 2016 (r427276) +++ head/print/xpp/files/patch-xpp.cxx Sun Nov 27 23:20:24 2016 (r427277) @@ -1,5 +1,5 @@ --- xpp.cxx.orig 2004-12-06 11:00:04.000000000 -0800 -+++ xpp.cxx 2016-11-08 12:49:34.251265000 -0800 ++++ xpp.cxx 2016-11-27 15:17:24.389315000 -0800 @@ -30,6 +30,7 @@ * Include necessary headers... */ @@ -17,6 +17,15 @@ /* * Parse options and send files for printing. +@@ -168,7 +169,7 @@ + { + char *tmp; + +- if ((tmp = strchr(dest,'/'))) { ++ if ((tmp = (char *)strchr(dest,'/'))) { + tmp[0] = '\0'; + instance = tmp + 1; + } @@ -651,7 +652,7 @@ #endif #endif // !WIN32