Bug 230883 - deskutils/gsimplecal: Fix build with Clang 6
Summary: deskutils/gsimplecal: Fix build with Clang 6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL: http://beefy11.nyi.freebsd.org/data/h...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-25 04:34 UTC by Tobias Kortkamp
Modified: 2018-09-08 09:04 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (lme)


Attachments
deskutils__gsimplecal.diff (1.27 KB, patch)
2018-08-25 04:34 UTC, Tobias Kortkamp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer 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 2018-08-25 04:34:38 UTC
Created attachment 196520 [details]
deskutils__gsimplecal.diff
Comment 2 commit-hook freebsd_committer 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