Bug 219814 - graphics/blender: error: static declaration of 'sincos' follows non-static declaration
Summary: graphics/blender: error: static declaration of 'sincos' follows non-static de...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-06 05:13 UTC by O. Hartmann
Modified: 2017-07-13 00:28 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2017-06-06 05:13:47 UTC
On recent 12-CURRENT (12.0-CURRENT #5 r319215: Tue May 30 16:44:52 CEST 2017 amd64, WITH_LLD_IS_LD=yes) with recent ports-tree (r442741), graphics/blender (2.78c) fails to compile with the error shown below: 

 
[...]
make[3]: stopped in /usr/ports/graphics/blender/work/.build
--- intern/libmv/CMakeFiles/bf_intern_libmv.dir/all ---
--- intern/libmv/CMakeFiles/bf_intern_libmv.dir/intern/frame_accessor.cc.o ---
In file included from /usr/ports/graphics/blender/work/blender-2.78c/intern/libmv/intern/frame_accessor.cc:31:
In file included from /usr/ports/graphics/blender/work/blender-2.78c/intern/libmv/libmv/autotrack/region.h:26:
/usr/ports/graphics/blender/work/blender-2.78c/intern/libmv/libmv/numeric/numeric.h:39:13: error: static declaration of 'sincos' follows non-static declaration
static void sincos(double x, double *sinx, double *cosx) {
            ^
/usr/include/math.h:503:7: note: previous declaration is here
void            sincos(double, double *, double *);
                ^
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-07-13 00:10:22 UTC
A commit references this bug:

Author: swills
Date: Thu Jul 13 00:09:25 UTC 2017
New revision: 445628
URL: https://svnweb.freebsd.org/changeset/ports/445628

Log:
  graphics/blender: fix build

  Build was failing due to addition of sincos() to base in r319047.

  PR:		219814
  Reported by:	O. Hartmann <ohartmann@walstatt.org>

Changes:
  head/graphics/blender/files/patch-intern_libmv_libmv_numeric_numeric.h
Comment 2 Steve Wills freebsd_committer freebsd_triage 2017-07-13 00:11:54 UTC
Build fix committed. Enjoy!