From owner-svn-ports-all@freebsd.org Wed Nov 30 11:30:21 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 DD6B2C5D0E5; Wed, 30 Nov 2016 11:30:21 +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 ACDB01507; Wed, 30 Nov 2016 11:30:21 +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 uAUBUKrM098733; Wed, 30 Nov 2016 11:30:20 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAUBUKLk098732; Wed, 30 Nov 2016 11:30:20 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201611301130.uAUBUKLk098732@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 30 Nov 2016 11:30:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427419 - head/multimedia/sabbu/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, 30 Nov 2016 11:30:22 -0000 Author: jbeich Date: Wed Nov 30 11:30:20 2016 New Revision: 427419 URL: https://svnweb.freebsd.org/changeset/ports/427419 Log: multimedia/sabbu: unbreak with libc++ 3.9 util.cpp:526:12: error: assigning to 'char *' from incompatible type 'const char *' msgval = strrchr (msgid, '|'); ^ ~~~~~~~~~~~~~~~~~~~~ util.cpp:539:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char *msgval = strrchr(msgid, '|'); ^ ~~~~~~~~~~~~~~~~~~~ PR: 214652 Approved by: portmgr blanket Added: head/multimedia/sabbu/files/patch-Source_util.cpp (contents, props changed) Added: head/multimedia/sabbu/files/patch-Source_util.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/sabbu/files/patch-Source_util.cpp Wed Nov 30 11:30:20 2016 (r427419) @@ -0,0 +1,20 @@ +--- Source/util.cpp.orig 2005-08-11 14:32:00 UTC ++++ Source/util.cpp +@@ -523,7 +523,7 @@ char *sgettext (const char *msgid) + char *msgval = gettext (msgid); + if (msgval == msgid) + { +- msgval = strrchr (msgid, '|'); ++ msgval = strrchr ((char *) msgid, '|'); + if(!msgval) + msgval = (char *) msgid; + else +@@ -536,7 +536,7 @@ char *sgettext (const char *msgid) + + char *sgettext_strip(const char *msgid) + { +- char *msgval = strrchr(msgid, '|'); ++ char *msgval = strrchr((char *) msgid, '|'); + if(!msgval) + return (char *) msgid; +