Bug 214645 - graphics/sharpconstruct: fails to build with libc++ 3.9
Summary: graphics/sharpconstruct: 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 00:59 UTC by Jan Beich
Modified: 2016-11-25 09:25 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 00:59:33 UTC
prefix.cc:400:6: error: assigning to 'char *' from incompatible type 'const char *'
        end = strrchr (path, '/');
            ^ ~~~~~~~~~~~~~~~~~~~
prefix.cc:436: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/sharpconstruct-0.11_10.log
http://package18.nyi.freebsd.org/data/headamd64PR212343-default/2016-09-13_07h18m01s/logs/errors/sharpconstruct-0.11_10.log
Comment 1 commit-hook freebsd_committer 2016-11-25 09:25:13 UTC
A commit references this bug:

Author: amdmi3
Date: Fri Nov 25 09:24:57 UTC 2016
New revision: 427089
URL: https://svnweb.freebsd.org/changeset/ports/427089

Log:
  - Add LICENSE
  - Fix build with clang 3.9
  - Regenerate patches

  PR:		214645

Changes:
  head/graphics/sharpconstruct/Makefile
  head/graphics/sharpconstruct/files/patch-include-Optimized.h
  head/graphics/sharpconstruct/files/patch-src_MainWindow.cc
  head/graphics/sharpconstruct/files/patch-src_prefix.cc