Bug 232680 - games/torcs: fix build with GCC-based architectures
Summary: games/torcs: 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: 2018-10-25 15:17 UTC by Piotr Kubaj
Modified: 2018-11-05 20:31 UTC (History)
2 users (show)

See Also:
monwarez: maintainer-feedback+


Attachments
patch (1.47 KB, patch)
2018-10-25 15:17 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-10-25 15:17:03 UTC
Created attachment 198622 [details]
patch

Fails with base GCC, needs to have USES=compiler:c++11-lang.

Additionally, a fix for isnan() being not detected.

Also, add USES=gl.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Thibault Payet 2018-10-29 16:49:07 UTC
Comment on attachment 198622 [details]
patch

Approved
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-11-05 20:31:54 UTC
A commit references this bug:

Author: linimon
Date: Mon Nov  5 20:31:47 UTC 2018
New revision: 484220
URL: https://svnweb.freebsd.org/changeset/ports/484220

Log:
  Fails with base GCC, needs to have USES=compiler:c++11-lang.

  Additionally, a fix for isnan() being not detected.

  Also, add USES=gl.

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

Changes:
  head/games/torcs/Makefile
  head/games/torcs/files/patch-src_drivers_olethros_geometry.cpp