Date: Sun, 27 Nov 2016 23:20:24 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427277 - head/print/xpp/files Message-ID: <201611272320.uARNKOqg042126@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611272320.uARNKOqg042126>