1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

graphics/oyranos: Fix build at HEAD.

PR:		237476
Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
This commit is contained in:
Boris Samorodov 2019-04-25 19:42:01 +00:00
parent 7df962fbe1
commit 85d4c8dddb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500069

View File

@ -0,0 +1,12 @@
--- src/tools/oyranos_convert.c.orig 2016-12-09 10:36:53 UTC
+++ src/tools/oyranos_convert.c
@@ -646,7 +646,8 @@ int main( int argc , char** argv )
if(!width)
width = 8;
buf = calloc(sizeof(uint16_t), size*width*size*width*3);
-#pragma omp parallel for private(in,a,b,j,)
+
+#pragma omp parallel for private(in,a,b,j)
for(l = 0; l < size; ++l)
{
in[0] = floor((double) l / (size - 1) * 65535.0 + 0.5);