Bug 226452 - devel/qscintilla2 needs c++11
Summary: devel/qscintilla2 needs c++11
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: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-08 14:55 UTC by Justin Hibbits
Modified: 2018-03-09 17:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer freebsd_triage 2018-03-08 14:55:04 UTC
With the upgrade of devel/qscintilla2 to 2.10 it now depends on std::regex, which is only available since c++11.  This breaks builds with gcc, so "compiler:c++11-lib" needs to be added to the USES list (untested thus far, will verify once my current poudriere bulk build completes).
Comment 1 Justin Hibbits freebsd_committer freebsd_triage 2018-03-09 15:46:07 UTC
Verified, USES= compiler:c++11-lib makes it build.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-03-09 16:54:09 UTC
A commit references this bug:

Author: tcberner
Date: Fri Mar  9 16:53:38 UTC 2018
New revision: 463975
URL: https://svnweb.freebsd.org/changeset/ports/463975

Log:
  Fix build of devel/qscintilla2 on gcc platforms.

  PR:		226452
  Submitted by:	jhibbits

Changes:
  head/devel/qscintilla2/Makefile
Comment 3 Justin Hibbits freebsd_committer freebsd_triage 2018-03-09 17:03:11 UTC
Thanks for the fix!
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2018-03-09 17:35:58 UTC
Thanks for the report :)