Date: Tue, 6 Aug 2019 19:48:39 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508280 - head/graphics/dilay Message-ID: <201908061948.x76JmdpT035131@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Aug 6 19:48:39 2019 New Revision: 508280 URL: https://svnweb.freebsd.org/changeset/ports/508280 Log: graphics/dilay: fix build with GCC-based architectures GCC needs -Wno-narrowing: src/isosurface-extraction/grid.cpp:309:53: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] While here also add USES=gl. PR: 239312 Approved by: yuri (maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21143 Modified: head/graphics/dilay/Makefile Modified: head/graphics/dilay/Makefile ============================================================================== --- head/graphics/dilay/Makefile Tue Aug 6 17:53:16 2019 (r508279) +++ head/graphics/dilay/Makefile Tue Aug 6 19:48:39 2019 (r508280) @@ -14,13 +14,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm -USES= compiler:c++14-lang gmake qmake qt:5 +USES= compiler:c++14-lang gl gmake qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= abau USE_CXXSTD= c++14 USE_GL= gl USE_QT= core gui opengl widgets xml buildtools_build +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_gcc= -Wno-narrowing MAKE_JOBS_UNSAFE= yes # Workaround for: https://github.com/abau/dilay/issues/19 parallel build fails (still a problem despite having been closed) PLIST_FILES= bin/dilay \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908061948.x76JmdpT035131>