Bug 237697 - devel/rttr: fix build with GCC-based architectures
Summary: devel/rttr: 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: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-01 19:12 UTC by Piotr Kubaj
Modified: 2019-05-12 22:50 UTC (History)
2 users (show)

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


Attachments
patch (2.95 KB, patch)
2019-05-01 19:12 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (kde)
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-05-01 19:12:02 UTC
Created attachment 204151 [details]
patch

Add USES=compiler:c++11-lang and merge https://github.com/Tencent/rapidjson/commit/fa5963a2f5b231ee2babff771f169ccca22870ed to fix build with GCC.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-05-12 22:49:12 UTC
A commit references this bug:

Author: adridg
Date: Sun May 12 22:48:19 UTC 2019
New revision: 501509
URL: https://svnweb.freebsd.org/changeset/ports/501509

Log:
  Fix devel/rttr on GCC-based architectures.

   - Use C++11-capable compiler
   - Import fix from upstream's upstream,
  	https://github.com/Tencent/rapidjson/commit/fa5963a2f5b231ee2babff771f169ccca22870ed

  No PORTREVISION bump since it didn't compile before, and the
  patch doesn't change any functionality.

  PR:		237697
  Submitted by:	pkubaj
  Reported by:	pkubaj

Changes:
  head/devel/rttr/Makefile
  head/devel/rttr/files/patch-3rd__party_rapidjson-1.1.0_rapidjson_document.h