- Update ffmpeg-glslang-cxx17.patch to build with glslang 14

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=204
This commit is contained in:
Jan Engelhardt 2023-12-26 13:36:56 +00:00 committed by Git OBS Bridge
parent e25ebfd1ae
commit cd1234d177
2 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 26 13:36:38 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update ffmpeg-glslang-cxx17.patch to build with glslang 14
-------------------------------------------------------------------
Wed Dec 6 08:50:00 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -4,8 +4,9 @@ Date: 2023-10-30 12:10:03.273303565 +0100
glslang 13 needs C++17.
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
configure | 2 +-
libavfilter/glslang.cpp | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Index: ffmpeg-4.4.4/configure
===================================================================
@ -20,3 +21,15 @@ Index: ffmpeg-4.4.4/configure
# some compilers silently accept -std=c11, so we also need to check that the
# version macro is defined properly
Index: ffmpeg-4.4.4/libavfilter/glslang.cpp
===================================================================
--- ffmpeg-4.4.4.orig/libavfilter/glslang.cpp
+++ ffmpeg-4.4.4/libavfilter/glslang.cpp
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <cassert>
#include <pthread.h>
extern "C" {