diff options
Diffstat (limited to 'media-video/ffmpeg/files/ffmpeg-6.1-opencl-parallel-gmake-fix.patch')
-rw-r--r-- | media-video/ffmpeg/files/ffmpeg-6.1-opencl-parallel-gmake-fix.patch | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/media-video/ffmpeg/files/ffmpeg-6.1-opencl-parallel-gmake-fix.patch b/media-video/ffmpeg/files/ffmpeg-6.1-opencl-parallel-gmake-fix.patch index c7eef79f347a..271a18999fb3 100644 --- a/media-video/ffmpeg/files/ffmpeg-6.1-opencl-parallel-gmake-fix.patch +++ b/media-video/ffmpeg/files/ffmpeg-6.1-opencl-parallel-gmake-fix.patch @@ -1,13 +1,12 @@ Bug: https://bugs.gentoo.org/782553 ---- a/libavfilter/Makefile -+++ b/libavfilter/Makefile -@@ -663,7 +663,7 @@ clean:: - $(RM) $(CLEANSUFFIXES:%=libavfilter/dnn/%) $(CLEANSUFFIXES:%=libavfilter/opencl/%) \ - $(CLEANSUFFIXES:%=libavfilter/vulkan/%) - --OPENCL = $(subst $(SRC_PATH)/,,$(wildcard $(SRC_PATH)/libavfilter/opencl/*.cl)) -+OPENCL = $(wildcard libavfilter/opencl/*.cl) - .SECONDARY: $(OPENCL:.cl=.c) - libavfilter/opencl/%.c: TAG = OPENCL - libavfilter/opencl/%.c: $(SRC_PATH)/libavfilter/opencl/%.cl +--- ffmpeg-6.1.1/tools/source2c.orig 2024-03-14 04:53:45.468507151 +0300 ++++ ffmpeg-6.1.1/tools/source2c 2024-03-14 04:54:53.503086088 +0300 +@@ -24,6 +24,7 @@ + + name=$(basename "$input" | sed 's/.cl$//') + ++mkdir -p "$(dirname "$output")" + cat >$output <<EOF + // Generated from $input + const char *ff_opencl_source_$name = |