VBA/Util.cpp:920:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char *p = strrchr(file,'.'); ^ ~~~~~~~~~~~~~~~~~ VBA/Util.cpp:937:12: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char * p = strrchr(file,'.'); ^ ~~~~~~~~~~~~~~~~~ http://package18.nyi.freebsd.org/data/headi386PR212343-default/2016-09-11_07h04m19s/logs/errors/playgsf-0.7.1_2.log http://package18.nyi.freebsd.org/data/headamd64PR212343-default/2016-09-13_07h18m01s/logs/errors/playgsf-0.7.1_2.log
Created attachment 177355 [details] Patch Proposed patch. Apart from fixing const char* issue, switch to USES=localbase and add LICENSE. GPLv2+ for VBA code, LGPL21 for bundled libresample code and NONE for playgsf code, as no license is specified neither for it nor for code it's based on (http://www.caitsith2.com/gsf/)
A commit references this bug: Author: ehaupt Date: Thu Nov 24 14:18:53 UTC 2016 New revision: 427013 URL: https://svnweb.freebsd.org/changeset/ports/427013 Log: - Fix build with libc++ 3.9 - Switch to USES=localbase - Add LICENSE: GPLv2+ for VBA code, LGPL21 for bundled libresample code and NONE for playgsf code, as no license is specified neither for it nor for code it's based on (http://www.caitsith2.com/gsf/) PR: 214653 Submitted by: amdmi3 Reported by: jbeich Changes: head/audio/playgsf/Makefile head/audio/playgsf/files/patch-VBA_Util.cpp