From owner-svn-ports-head@freebsd.org Sun Sep 2 11:42:22 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15523FECC85; Sun, 2 Sep 2018 11:42:22 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE37C75A68; Sun, 2 Sep 2018 11:42:21 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B948418D2B; Sun, 2 Sep 2018 11:42:21 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w82BgL08041029; Sun, 2 Sep 2018 11:42:21 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w82BgL1Z041028; Sun, 2 Sep 2018 11:42:21 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809021142.w82BgL1Z041028@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 2 Sep 2018 11:42:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478788 - head/graphics/reallyslick X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/graphics/reallyslick X-SVN-Commit-Revision: 478788 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2018 11:42:22 -0000 Author: tobik Date: Sun Sep 2 11:42:21 2018 New Revision: 478788 URL: https://svnweb.freebsd.org/changeset/ports/478788 Log: graphis/reallyslick: Fix build with Clang 6 hyperspace.cpp:387:19: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] float diff[3] = {flarepos[0] - camPos[0], flarepos[1] - camPos[1], flarepos[2] - camPos[2]}; ^~~~~~~~~~~~~~~~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/reallyslick-0.9.1_20.log - Attempt build on arm* again; the error message is the same as on amd64/i386 - Mark as LLD_UNSAFE when compiled with FREEALUT=on because of OpenAL [1] PR: 226980 [1] Modified: head/graphics/reallyslick/Makefile Modified: head/graphics/reallyslick/Makefile ============================================================================== --- head/graphics/reallyslick/Makefile Sun Sep 2 11:36:06 2018 (r478787) +++ head/graphics/reallyslick/Makefile Sun Sep 2 11:42:21 2018 (r478788) @@ -11,16 +11,15 @@ DISTNAME= rss-glx_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL screensaver collection -BROKEN_armv6= fails to compile: hyperspace.cpp:387:19: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list -BROKEN_armv7= fails to compile: hyperspace.cpp:387:19: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list - LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick \ libGLC.so:graphics/quesoglc -USES= gmake pathfix pkgconfig tar:bzip2 libtool +USES= compiler gmake pathfix pkgconfig tar:bzip2 libtool USE_GL= glut GNU_CONFIGURE= yes +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lXext @@ -29,6 +28,7 @@ OPTIONS_DEFINE= FREEALUT GLEW FREEALUT_DESC= Enable freealut support FREEALUT_CONFIGURE_ENABLE= sound FREEALUT_USES= openal:alut +FREEALUT_VARS= LLD_UNSAFE=yes # cf. PR 226980 GLEW_DESC= Enable GLEW support GLEW_USE= GL=glew