[Bug 239331] graphics/blender: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 20 09:17:19 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239331

            Bug ID: 239331
           Summary: graphics/blender: fix build on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
                CC: FreeBSD at ShaneWare.Biz
                CC: FreeBSD at ShaneWare.Biz
             Flags: maintainer-feedback?(FreeBSD at ShaneWare.Biz)

Created attachment 205920
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205920&action=edit
patch

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list