Date: Wed, 1 Feb 2017 20:21:01 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> 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 Message-ID: <201702012021.v11KL1MS064531@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <errno.h> +@@ -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; + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702012021.v11KL1MS064531>