freebsd-ports/graphics/hugin
Raphael Kubo da Costa fe8a500407 Fix the build on 9.x.
Add a missing include so that the port builds on 9.3-{amd64,i386}:

  /wrkdirs/usr/ports/graphics/hugin/work/hugin-2015.0.0/src/hugin_cpfind/localfeatures/RansacFiltering.cpp: In function 'int genint(int)':
  /wrkdirs/usr/ports/graphics/hugin/work/hugin-2015.0.0/src/hugin_cpfind/localfeatures/RansacFiltering.cpp:28:31: error: 'rand' was not declared in this scope
       return (int)((double)rand()*x/(double)RAND_MAX);
                               ^
  /wrkdirs/usr/ports/graphics/hugin/work/hugin-2015.0.0/src/hugin_cpfind/localfeatures/RansacFiltering.cpp:28:43: error: 'RAND_MAX' was not declared in this scope
       return (int)((double)rand()*x/(double)RAND_MAX);
                                           ^

The quarterly branch is not affected, it still contains hugin 2013.0.0.

Approved by:	portmgr blanket approval (trivial and tested build fix)
2015-12-04 14:03:30 +00:00
..
files Fix the build on 9.x. 2015-12-04 14:03:30 +00:00
distinfo Take MAINTAINER 2015-11-19 23:47:28 +00:00
Makefile Depend on sqlite3 2015-11-27 05:53:39 +00:00
pkg-descr
pkg-plist Add missing dependency. 2015-11-23 02:47:23 +00:00