Bug 214648 - games/amoebax: fails to build with libc++ 3.9
Summary: games/amoebax: fails to build with libc++ 3.9
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: Dmitry Marakasov
URL: https://github.com/llvm-mirror/libcxx...
Keywords: easy, needs-patch
Depends on:
Blocks: 212343
  Show dependency treegraph
 
Reported: 2016-11-19 01:04 UTC by Jan Beich
Modified: 2016-11-24 16:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2016-11-19 01:04:25 UTC
binreloc.cxx:747:6: error: assigning to 'char *' from incompatible type 'const char *'
        end = strrchr (path, '/');
            ^ ~~~~~~~~~~~~~~~~~~~

http://package18.nyi.freebsd.org/data/headi386PR212343-default/2016-09-11_07h04m19s/logs/errors/amoebax-0.2.1_8.log
http://package18.nyi.freebsd.org/data/headamd64PR212343-default/2016-09-13_07h18m01s/logs/errors/amoebax-0.2.1_8.log
Comment 1 Dmitry Marakasov freebsd_committer 2016-11-23 18:54:57 UTC
(replying to random PR):

Jan, what's the easiest way to reproduce these problems locally? In other words,

poudriere jail -c -j 12-libc38 ..what?..
Comment 2 Dmitry Marakasov freebsd_committer 2016-11-23 19:06:35 UTC
(In reply to Dmitry Marakasov from comment #1)
> (replying to random PR):
> 
> Jan, what's the easiest way to reproduce these problems locally? In other
> words,
> 
> poudriere jail -c -j 12-libc38 ..what?..

Nevermind, I've worked it out
Comment 3 commit-hook freebsd_committer 2016-11-24 16:15:46 UTC
A commit references this bug:

Author: amdmi3
Date: Thu Nov 24 16:15:14 UTC 2016
New revision: 427053
URL: https://svnweb.freebsd.org/changeset/ports/427053

Log:
  - Fix build with libc++ 3.9
  - Regenerate patches

  PR:		214648

Changes:
  head/games/amoebax/files/patch-src-Music.cxx
  head/games/amoebax/files/patch-src_Music.cxx
  head/games/amoebax/files/patch-src_binreloc.cxx