FreeBSD Bugzilla – Attachment 203901 Details for
Bug 237476
graphics/oyranos: Fix 'expected expression' error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix build error on graphics/oyranos
patch-graphics_oyranos.diff (text/plain), 779 bytes, created by
Rainer Hurling
on 2019-04-22 20:25:54 UTC
(
hide
)
Description:
patch to fix build error on graphics/oyranos
Filename:
MIME Type:
Creator:
Rainer Hurling
Created:
2019-04-22 20:25:54 UTC
Size:
779 bytes
patch
obsolete
>diff -urN oyranos.orig/files/patch-src_tools_oyranos__convert.c oyranos/files/patch-src_tools_oyranos__convert.c >--- oyranos.orig/files/patch-src_tools_oyranos__convert.c 1970-01-01 01:00:00.000000000 +0100 >+++ oyranos/files/patch-src_tools_oyranos__convert.c 2019-04-22 21:43:55.380841000 +0200 >@@ -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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237476
: 203901