[packages/ffmpeg/ffmpeg-4.4] update glslang patch for glslang 14
atler
atler at pld-linux.org
Mon Feb 26 15:42:16 CET 2024
commit 87d5d6849b3ff7d5a64a3ec82197df882e70d405
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Feb 26 14:58:36 2024 +0100
update glslang patch for glslang 14
ffmpeg-glslang.patch | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg-glslang.patch b/ffmpeg-glslang.patch
index cea8b18..45eea8e 100644
--- a/ffmpeg-glslang.patch
+++ b/ffmpeg-glslang.patch
@@ -5,7 +5,17 @@
enabled libfreetype && require_pkg_config libfreetype freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType
enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info
-enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++
-+enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lHLSL -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++
++enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++
enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu ||
require libgme gme/gme.h gme_new_emu -lgme -lstdc++; }
enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
+--- ffmpeg-4.4.4/libavfilter/glslang.cpp.orig 2023-04-12 20:01:50.000000000 +0200
++++ ffmpeg-4.4.4/libavfilter/glslang.cpp 2024-02-25 18:05:50.129295913 +0100
+@@ -28,6 +28,7 @@
+ #include <glslang/SPIRV/GlslangToSpv.h>
+
+ #include "glslang.h"
++#include <cassert>
+
+ using namespace glslang;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ffmpeg.git/commitdiff/87d5d6849b3ff7d5a64a3ec82197df882e70d405
More information about the pld-cvs-commit
mailing list