Bug 234366 - games/openyahtzee: fix build with GCC-based architectures
Summary: games/openyahtzee: fix build with GCC-based architectures
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: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-24 19:37 UTC by Piotr Kubaj
Modified: 2018-12-26 20:53 UTC (History)
2 users (show)

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


Attachments
patch (838 bytes, patch)
2018-12-24 19:37 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2018-12-24 19:37:43 UTC
Created attachment 200461 [details]
patch

src/MainFrame.cpp needs to include <functional> to build on GCC architectures, which use ports GCC.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-25 12:14:23 UTC
A commit references this bug:

Author: danilo
Date: Tue Dec 25 12:14:19 UTC 2018
New revision: 488317
URL: https://svnweb.freebsd.org/changeset/ports/488317

Log:
  - Update to 1.9.3

  PR:		234366

Changes:
  head/games/openyahtzee/Makefile
  head/games/openyahtzee/distinfo
Comment 2 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2018-12-25 12:16:30 UTC
Thanks to your PR I just realized there was an update to this port. The new version already has the "#include <functional>".