diff --git a/patches/opencl-Deprecation/definition b/patches/opencl-Deprecation/definition new file mode 100644 index 00000000..80b17a46 --- /dev/null +++ b/patches/opencl-Deprecation/definition @@ -0,0 +1 @@ +Apply-Before: * diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 1b7ac5ed..642cf1a4 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2001,6 +2001,18 @@ if test "$enable_patchlist" -eq 1; then 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 Compiler_Warnings # | # | Modified files: @@ -4342,18 +4354,6 @@ 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: