Page MenuHomeFreeBSD

graphics/blender: fix build on GCC architectures
ClosedPublic

Authored by pkubaj on Jul 22 2019, 7:59 AM.

Details

Summary

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

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Jul 22 2019, 7:59 AM
This revision is now accepted and ready to land.Jul 31 2019, 10:11 PM
This revision was automatically updated to reflect the committed changes.