mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Added patch to avoid deprecation warning for OpenCL 1.2 APIs.
This commit is contained in:
parent
7f28f3b56d
commit
159a22391a
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -23,6 +23,7 @@ wine-staging (1.7.51) UNRELEASED; urgency=low
|
||||
Wine Staging Bug #449).
|
||||
* Added patch to create Microsoft\Windows\Themes directory during Wineprefix
|
||||
creation.
|
||||
* Added patch to avoid deprecation warning for OpenCL 1.2 APIs.
|
||||
* Removed patch to fix bug in wineserver debug_children inheritance (accepted
|
||||
upstream).
|
||||
* Removed patch to use helper function for NtWaitForMultipleObjects and
|
||||
|
@ -0,0 +1,24 @@
|
||||
From cef8020c7a1f4f8224513dac2017189c2774d1c8 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Thu, 3 Sep 2015 23:30:25 +0200
|
||||
Subject: opencl: Avoid deprecation warning for OpenCL 1.2 APIs.
|
||||
|
||||
---
|
||||
dlls/opencl/opencl.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
|
||||
index f690733..2d145bf 100644
|
||||
--- a/dlls/opencl/opencl.c
|
||||
+++ b/dlls/opencl/opencl.c
|
||||
@@ -32,6 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl);
|
||||
|
||||
#if defined(HAVE_CL_CL_H)
|
||||
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
||||
+#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
|
||||
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
||||
#include <CL/cl.h>
|
||||
#elif defined(HAVE_OPENCL_OPENCL_H)
|
||||
--
|
||||
2.5.1
|
||||
|
@ -210,6 +210,7 @@ patch_enable_all ()
|
||||
enable_nvcuvid_CUDA_Video_Support="$1"
|
||||
enable_nvencodeapi_Video_Encoder="$1"
|
||||
enable_openal32_EFX_Extension="$1"
|
||||
enable_opencl_Deprecation="$1"
|
||||
enable_opengl32_Revert_Disable_Ext="$1"
|
||||
enable_quartz_MediaSeeking_Positions="$1"
|
||||
enable_rasapi32_RasEnumDevicesA="$1"
|
||||
@ -717,6 +718,9 @@ patch_enable ()
|
||||
openal32-EFX_Extension)
|
||||
enable_openal32_EFX_Extension="$2"
|
||||
;;
|
||||
opencl-Deprecation)
|
||||
enable_opencl_Deprecation="$2"
|
||||
;;
|
||||
opengl32-Revert_Disable_Ext)
|
||||
enable_opengl32_Revert_Disable_Ext="$2"
|
||||
;;
|
||||
@ -4338,6 +4342,18 @@ if test "$enable_openal32_EFX_Extension" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset opencl-Deprecation
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/opencl/opencl.c
|
||||
# |
|
||||
if test "$enable_opencl_Deprecation" -eq 1; then
|
||||
patch_apply opencl-Deprecation/0001-opencl-Avoid-deprecation-warning-for-OpenCL-1.2-APIs.patch
|
||||
(
|
||||
echo '+ { "Sebastian Lackner", "opencl: Avoid deprecation warning for OpenCL 1.2 APIs.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset opengl32-Revert_Disable_Ext
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user