Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 03:03:09 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477990 - head/audio/zinf
Message-ID:  <201808250303.w7P339Qt084949@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808250303.w7P339Qt084949>