Bug 236986 - sysutils/jstest-gtk: fix build with GCC-based architectures
Summary: sysutils/jstest-gtk: 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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-03 10:40 UTC by Piotr Kubaj
Modified: 2019-04-07 01:08 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (rozhuk.im)
rozhuk.im: merge-quarterly?


Attachments
patch (398 bytes, patch)
2019-04-03 10:40 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 2019-04-03 10:40:35 UTC
Created attachment 203342 [details]
patch

This port needs C++11-compatible compiler. Add USES=compiler:c++11-lang to fix build on GCC architectures.

Tested on powerpc64 and amd64.
Comment 1 Ivan Rozhuk 2019-04-03 20:07:21 UTC
Are you sure about USES=gnome ?
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2019-04-04 18:54:47 UTC
(In reply to rozhuk.im from comment #1)
Yes, any port that sets USE_GNOME needs USES=gnome.
Comment 3 Ivan Rozhuk 2019-04-04 19:43:09 UTC
Comment on attachment 203342 [details]
patch

Ok, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-04-07 01:03:42 UTC
A commit references this bug:

Author: linimon
Date: Sun Apr  7 01:03:30 UTC 2019
New revision: 498221
URL: https://svnweb.freebsd.org/changeset/ports/498221

Log:
  This port needs C++11-compatible compiler.  Add USES=compiler:c++11-lang
  to fix build on GCC-based architectures:

    /usr/local/include/sigc++-2.0/sigc++/visit_each.h:22:23: error: type_traits: No such file or directory

  While here, pet portlint.

  PR:		236986
  Submitted by:	Piotr Kubaj
  Approved by:	maintainer

Changes:
  head/sysutils/jstest-gtk/Makefile
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2019-04-07 01:04:30 UTC
Committed, thanks.
Comment 6 commit-hook freebsd_committer freebsd_triage 2019-04-07 01:08:49 UTC
A commit references this bug:

Author: linimon
Date: Sun Apr  7 01:08:27 UTC 2019
New revision: 498222
URL: https://svnweb.freebsd.org/changeset/ports/498222

Log:
  MFH: r498221

  This port needs C++11-compatible compiler.  Add USES=compiler:c++11-lang
  to fix build on GCC-based architectures:

    /usr/local/include/sigc++-2.0/sigc++/visit_each.h:22:23: error: type_traits: No such file or directory

  While here, pet portlint.

  PR:		236986
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
_U  branches/2019Q2/
  branches/2019Q2/sysutils/jstest-gtk/Makefile