From owner-svn-ports-all@freebsd.org Thu Aug 1 19:07:43 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C59B5C6564; Thu, 1 Aug 2019 19:07:43 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4600DH4rHjz47qr; Thu, 1 Aug 2019 19:07:43 +0000 (UTC) (envelope-from pkubaj@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 838571ECFC; Thu, 1 Aug 2019 19:07:43 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x71J7hT1007006; Thu, 1 Aug 2019 19:07:43 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x71J7hup007005; Thu, 1 Aug 2019 19:07:43 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201908011907.x71J7hup007005@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Thu, 1 Aug 2019 19:07:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507821 - head/graphics/blender X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/graphics/blender X-SVN-Commit-Revision: 507821 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2019 19:07:43 -0000 Author: pkubaj Date: Thu Aug 1 19:07:43 2019 New Revision: 507821 URL: https://svnweb.freebsd.org/changeset/ports/507821 Log: graphics/blender: fix build on GCC architectures Error: /wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/blenlib/intern/math_base.c: In function 'double_round': /wrkdirs/usr/ports/graphics/blender/work/blender-2.79b/source/blender/blenlib/intern/math_base.c:59:17: error: conversion from 'double' to 'float' may change value [-Werror=float-conversion] if (!isfinite(y)) Fix by adding -Wno-float-conversion. Also add USES=gl gnome sdl. PR: 239331 Approved by: FreeBSD@ShaneWare.Biz (maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21022 Modified: head/graphics/blender/Makefile Modified: head/graphics/blender/Makefile ============================================================================== --- head/graphics/blender/Makefile Thu Aug 1 18:58:14 2019 (r507820) +++ head/graphics/blender/Makefile Thu Aug 1 19:07:43 2019 (r507821) @@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYNUMPY} # are set. We will pull boost in just to be on the safe side. # USES=compiler is needed to support gcc built archs -USES= cmake compiler:c++14-lang desktop-file-utils \ +USES= cmake compiler:c++14-lang desktop-file-utils gl \ jpeg python:3.5 shebangfix USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew @@ -39,6 +39,8 @@ SHEBANG_FILES= release/bin/blender-thumbnailer.py \ release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py +CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} +CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 @@ -70,6 +72,7 @@ COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 +COLLADA_USES= gnome COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO CYCLES_CMAKE_BOOL= WITH_CYCLES @@ -137,6 +140,7 @@ PLAYER_CMAKE_BOOL= WITH_PLAYER RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL SDL_USE= SDL=sdl2 +SDL_USES= sdl SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF