Bug 214651

Summary: games/pinball: fails to build with libc++ 3.9
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: amdmi3
Priority: --- Keywords: easy, patch
Version: LatestFlags: amdmi3: maintainer-feedback-
Hardware: Any   
OS: Any   
URL: https://github.com/llvm-mirror/libcxx/commit/b4aa97130b8b
Bug Depends on:    
Bug Blocks: 212343    
Attachments:
Description Flags
Patch none

Description Jan Beich freebsd_committer 2016-11-19 01:31:42 UTC
Config.cpp:429:9: error: assigning to 'char *' from incompatible type 'const char *'
    ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32
        ^ ~~~~~~~~~~~~~~~~~~~~

http://package23.nyi.freebsd.org/data/headi386PR212343-default/2016-10-23_11h27m12s/logs/errors/pinball-0.3.1_20.log
http://package18.nyi.freebsd.org/data/headamd64PR212343-default/2016-09-13_07h18m01s/logs/errors/toycars-0.3.10_7.log
Comment 1 Dmitry Marakasov freebsd_committer 2016-11-24 13:43:23 UTC
Created attachment 177356 [details]
Patch

Proposed patch. Apart from fixing const char* issues,
- Add LICENSE_FILE
- Switch to USES=localbase
- Simplify docs installation
Comment 2 Dmitry Marakasov freebsd_committer 2016-12-13 16:26:27 UTC
Maintainer timeout, committed.
Comment 3 commit-hook freebsd_committer 2016-12-13 16:26:46 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Dec 13 16:26:20 UTC 2016
New revision: 428507
URL: https://svnweb.freebsd.org/changeset/ports/428507

Log:
  - Fix build with libc++ 3.9
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Simplify docs installation

  PR:		214651
  Reported by:	jbeich
  Approved by:	maintainer timeout (thierry, 3 weeks)

Changes:
  head/games/pinball/Makefile
  head/games/pinball/files/patch-base_Config.cpp