From owner-svn-ports-head@freebsd.org Sat Sep 8 09:04:30 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E082FEDC51; Sat, 8 Sep 2018 09:04:30 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E877A8CC3E; Sat, 8 Sep 2018 09:04:29 +0000 (UTC) (envelope-from tobik@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF369B35; Sat, 8 Sep 2018 09:04:29 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8894TxH033526; Sat, 8 Sep 2018 09:04:29 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8894TVb033525; Sat, 8 Sep 2018 09:04:29 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809080904.w8894TVb033525@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 8 Sep 2018 09:04:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479236 - head/deskutils/gsimplecal/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/deskutils/gsimplecal/files X-SVN-Commit-Revision: 479236 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2018 09:04:30 -0000 Author: tobik Date: Sat Sep 8 09:04:29 2018 New Revision: 479236 URL: https://svnweb.freebsd.org/changeset/ports/479236 Log: deskutils/gsimplecal: Fix build with Clang 6 MainWindow.cpp:157:33: error: C-style cast from 'nullptr_t' to 'GtkAccelFlags' is not allowed (GtkAccelFlags)NULL, closure); ^~~~~~~~~~~~~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/gsimplecal-2.1.log PR: 230883 Submitted by: tobik Approved by: lme (maintainer timeout, 2 weeks) Added: head/deskutils/gsimplecal/files/ head/deskutils/gsimplecal/files/patch-src_MainWindow.cpp (contents, props changed) Added: head/deskutils/gsimplecal/files/patch-src_MainWindow.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/gsimplecal/files/patch-src_MainWindow.cpp Sat Sep 8 09:04:29 2018 (r479236) @@ -0,0 +1,15 @@ +MainWindow.cpp:157:33: error: C-style cast from 'nullptr_t' to 'GtkAccelFlags' is not allowed + (GtkAccelFlags)NULL, closure); + ^~~~~~~~~~~~~~~~~~~ + +--- src/MainWindow.cpp.orig 2018-08-25 04:31:20 UTC ++++ src/MainWindow.cpp +@@ -154,7 +154,7 @@ MainWindow::MainWindow() + closure = g_cclosure_new(G_CALLBACK(keys[key].func), (gpointer)this, NULL); + gtk_accel_group_connect(accelerators, keys[key].key, + (GdkModifierType)keys[key].modifier, +- (GtkAccelFlags)NULL, closure); ++ (GtkAccelFlags)0, closure); + g_closure_unref(closure); + } +