svn commit: r477990 - head/audio/zinf
Tobias Kortkamp
tobik at FreeBSD.org
Sat Aug 25 03:03:10 UTC 2018
Author: tobik
Date: Sat Aug 25 03:03:09 2018
New Revision: 477990
URL: https://svnweb.freebsd.org/changeset/ports/477990
Log:
audio/zinf: Fix build with Clang 6
src/zip_header.cpp:43:31: error: constant expression evaluates to 234 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
char arjHeaderSign[3]={ 0x60,0xea, 0 };
^~~~
src/zip_header.cpp:43:31: note: insert an explicit cast to silence this issue
char arjHeaderSign[3]={ 0x60,0xea, 0 };
^~~~
static_cast<char>( )
src/zip_header.cpp:120:15: error: assigning to 'char *' from incompatible type 'char'
h->filename='\0';
^~~~
src/zip_header.cpp:282:15: error: assigning to 'char *' from incompatible type 'char'
h->filename='\0';
^~~~
http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/zinf-2.2.5_22.log
(and a lot more errors like these and std::bind and bind confusion
if one gets past these)
Modified:
head/audio/zinf/Makefile
Modified: head/audio/zinf/Makefile
==============================================================================
--- head/audio/zinf/Makefile Sat Aug 25 01:24:40 2018 (r477989)
+++ head/audio/zinf/Makefile Sat Aug 25 03:03:09 2018 (r477990)
@@ -14,6 +14,7 @@ LIB_DEPENDS= libid3.so:audio/id3lib \
libgdbm.so:databases/gdbm
USES= alias gettext gmake libtool ncurses pathfix perl5 pkgconfig
+USE_CXXSTD= gnu++98
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ipv6 \
More information about the svn-ports-all
mailing list