Bug 239632 - games/dhewm3: fix build with GCC-based architectures
Summary: games/dhewm3: fix build with GCC-based architectures
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-03 22:31 UTC by Piotr Kubaj
Modified: 2019-08-14 16:30 UTC (History)
2 users (show)

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


Attachments
patch (1.68 KB, patch)
2019-08-03 22:31 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (amdmi3)
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-08-03 22:31:43 UTC
Created attachment 206259 [details]
patch

GCC9 is much more eager at defining __GNU_SOURCE, which breaks build on FreeBSD.

Also add USES=sdl.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2019-08-05 11:04:38 UTC
(In reply to Piotr Kubaj from comment #0)
Should be fixed with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239648.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-14 16:30:33 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Aug 14 16:30:12 UTC 2019
New revision: 508931
URL: https://svnweb.freebsd.org/changeset/ports/508931

Log:
  - Add missing USES=sdl

  PR:		239632
  Submitted by:	pkubaj@FreeBSD.org

Changes:
  head/games/dhewm3/Makefile