HomeFreeBSD

graphics/blender: fix build on GCC architectures

Description

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

Details

Provenance
pkubajAuthored on
Differential Revision
D21022: graphics/blender: fix build on GCC architectures
Parents
rP507820: lang/ghc: fix build on powerpc64 elfv1
Branches
Unknown
Tags
Unknown