mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
graphics/oyranos: Fix build at HEAD.
PR: 237476 Submitted by: Rainer Hurling <rhurlin@gwdg.de>
This commit is contained in:
parent
7df962fbe1
commit
85d4c8dddb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500069
1 changed files with 12 additions and 0 deletions
12
graphics/oyranos/files/patch-src_tools_oyranos__convert.c
Normal file
12
graphics/oyranos/files/patch-src_tools_oyranos__convert.c
Normal 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);
|
Loading…
Add table
Reference in a new issue