From owner-svn-ports-all@freebsd.org Fri Nov 18 03:45:15 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 99EDCC47E5C; Fri, 18 Nov 2016 03:45:15 +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 6844917A3; Fri, 18 Nov 2016 03:45:15 +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 uAI3jEiK071810; Fri, 18 Nov 2016 03:45:14 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAI3jEGZ071809; Fri, 18 Nov 2016 03:45:14 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201611180345.uAI3jEGZ071809@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 18 Nov 2016 03:45:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426308 - head/deskutils/ical/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: Fri, 18 Nov 2016 03:45:15 -0000 Author: jbeich Date: Fri Nov 18 03:45:14 2016 New Revision: 426308 URL: https://svnweb.freebsd.org/changeset/ports/426308 Log: deskutils/ical: unbreak with libc++ 3.9 calfile.C:63:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char* lastSlash = strrchr(name, '/'); ^ ~~~~~~~~~~~~~~~~~~ PR: 212343 Reported by: antoine (via exp-run) Added: head/deskutils/ical/files/patch-calendar_calfile.C (contents, props changed) Added: head/deskutils/ical/files/patch-calendar_calfile.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/ical/files/patch-calendar_calfile.C Fri Nov 18 03:45:14 2016 (r426308) @@ -0,0 +1,11 @@ +--- calendar/calfile.C.orig 1997-05-24 00:23:52 UTC ++++ calendar/calfile.C +@@ -60,7 +60,7 @@ CalFile::CalFile(int ro, const char* nam + backupName = tmp; + + // Get directory name for access checks +- char* lastSlash = strrchr(name, '/'); ++ const char* lastSlash = strrchr(name, '/'); + if (lastSlash == 0) { + /* Calendar is in current directory */ + tmp = new char[3];