diff options
Diffstat (limited to 'lang/fpc/files/patch-packages-opencl-src_cl.pp')
-rw-r--r-- | lang/fpc/files/patch-packages-opencl-src_cl.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/fpc/files/patch-packages-opencl-src_cl.pp b/lang/fpc/files/patch-packages-opencl-src_cl.pp new file mode 100644 index 000000000000..a45464f029ce --- /dev/null +++ b/lang/fpc/files/patch-packages-opencl-src_cl.pp @@ -0,0 +1,11 @@ +--- packages/opencl/src/cl.pp 2023-10-28 12:54:09.078367000 -0500 ++++ packages/opencl/src/cl.pp 2023-10-28 12:54:33.911516000 -0500 +@@ -55,7 +55,7 @@ + OpenCLlib = 'OpenCL.dll'; + {$DEFINE extdecl := stdcall} + {$ELSE} +- {$IFDEF LINUX} ++ {$IF DEFINED(LINUX) OR DEFINED(FREEBSD)} + {$DEFINE DYNLINK} + const + OpenCLlib = 'libOpenCL.so'; |