Page MenuHomeFreeBSD

graphics/blender: fix build on GCC architectures
ClosedPublic

Authored by pkubaj on Jul 22 2019, 7:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 12:03 AM
Unknown Object (File)
Oct 15 2024, 2:12 AM
Unknown Object (File)
Sep 27 2024, 3:14 PM
Unknown Object (File)
Sep 23 2024, 3:15 AM
Unknown Object (File)
Sep 17 2024, 12:30 AM
Unknown Object (File)
Sep 16 2024, 2:30 PM
Unknown Object (File)
Sep 5 2024, 3:58 PM
Unknown Object (File)
Sep 5 2024, 3:37 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable