Bug 230883

Summary: deskutils/gsimplecal: Fix build with Clang 6
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (lme)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/gsimplecal-2.1.log
Attachments:
Description Flags
deskutils__gsimplecal.diff none

Description Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-25 04:34:09 UTC
The build fails with Clang 6 and soon the port will be marked as
BROKEN on 12.0 and 11.2 if we do not act.
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-25 04:34:38 UTC
Created attachment 196520 [details]
deskutils__gsimplecal.diff
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-09-08 09:04:36 UTC
A commit references this bug:

Author: tobik
Date: Sat Sep  8 09:04:29 UTC 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)

Changes:
  head/deskutils/gsimplecal/files/
  head/deskutils/gsimplecal/files/patch-src_MainWindow.cpp