Bug 229101

Summary: games/spring: fix build with CMake 3.12
Product: Ports & Packages Reporter: Adriaan de Groot <adridg>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: adridg
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D15878

Description Adriaan de Groot freebsd_committer freebsd_triage 2018-06-18 07:30:15 UTC
games/spring fails to build with CMake 3.12 (which we're about to exp-run). Patches are in https://reviews.freebsd.org/D15878
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-06-19 21:08:43 UTC
A commit references this bug:

Author: adridg
Date: Tue Jun 19 21:08:34 UTC 2018
New revision: 472823
URL: https://svnweb.freebsd.org/changeset/ports/472823

Log:
  Pre-emptively fix games/spring before CMake 3.12 arrives.

  file(GLOB .. FOLLOW_SYMLINKS ..) was never documented to work; in
  3.12-rc1 this has become an error. That in itself is considered
  a regression in CMake [1], but the use is wrong anyway, so patch
  it away. The change has been accepted upstream [2] already.

  Not bumping PORTREVISION because no code actually changes,
  it just removes a cmake-time no-op.

  [1] https://gitlab.kitware.com/cmake/cmake/issues/18097
  [2] https://springrts.com/mantis/view.php?id=6005

  PR:		229101
  Reviewed by:	tcberner
  Differential Revision:	https://reviews.freebsd.org/D15878

Changes:
  head/games/spring/files/patch-rts-build-cmake-Util
  head/games/spring/files/patch-rts-build-cmake-UtilJava