From owner-svn-ports-all@freebsd.org Wed Feb 1 20:21:03 2017 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 0160DCCC682; Wed, 1 Feb 2017 20:21:03 +0000 (UTC) (envelope-from jbeich@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 C4C3438E; Wed, 1 Feb 2017 20:21:02 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v11KL1i1064532; Wed, 1 Feb 2017 20:21:01 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v11KL1MS064531; Wed, 1 Feb 2017 20:21:01 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702012021.v11KL1MS064531@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Feb 2017 20:21:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433090 - head/converters/fix-mime-charset/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: Wed, 01 Feb 2017 20:21:03 -0000 Author: jbeich Date: Wed Feb 1 20:21:01 2017 New Revision: 433090 URL: https://svnweb.freebsd.org/changeset/ports/433090 Log: converters/fix-mime-charset: unbreak with libc++ 3.9 ./argp-local.h:69:7: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char *p=strrchr(arg,'/'); ^ ~~~~~~~~~~~~~~~~ Reported by: pkg-fallout Modified: head/converters/fix-mime-charset/files/patch-src_argp-local.h (contents, props changed) Modified: head/converters/fix-mime-charset/files/patch-src_argp-local.h ============================================================================== --- head/converters/fix-mime-charset/files/patch-src_argp-local.h Wed Feb 1 20:20:51 2017 (r433089) +++ head/converters/fix-mime-charset/files/patch-src_argp-local.h Wed Feb 1 20:21:01 2017 (r433090) @@ -8,3 +8,12 @@ #define __need_error_t #include +@@ -65,7 +65,7 @@ const argp_option _argp_default_options[ + + string _argp_progname(const char *arg) + { +-char *p=strrchr(arg,'/'); ++const char *p=strrchr(arg,'/'); + return p==NULL ? arg : p+1; + } +