Skip to content

Commit 25077b0

Browse files
author
seydx
committed
Update patches
1 parent ab0a3a1 commit 25077b0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

patches/ffmpeg-glslang-msvc.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/configure b/configure
2-
index 7828381b5d..31bd40945e 100755
2+
index cd9bbe570c..20f2554aec 100755
33
--- a/configure
44
+++ b/configure
5-
@@ -7134,6 +7134,7 @@ if enabled libglslang; then
5+
@@ -7167,6 +7167,7 @@ if enabled libglslang; then
66
check_lib spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \
77
-lglslang -lMachineIndependent -lGenericCodeGen \
88
${spvremap} -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm ||
@@ -11,15 +11,15 @@ index 7828381b5d..31bd40945e 100755
1111
-lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \
1212
${spvremap} -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm ;
1313
diff --git a/libavutil/vulkan_glslang.c b/libavutil/vulkan_glslang.c
14-
index 4cf54de854..6099ff047d 100644
14+
index 4cf54de854..ec73875c2a 100644
1515
--- a/libavutil/vulkan_glslang.c
1616
+++ b/libavutil/vulkan_glslang.c
1717
@@ -16,7 +16,7 @@
1818
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1919
*/
2020

2121
-#include <pthread.h>
22-
+#include <thread.h>
22+
+#include "thread.h"
2323

2424
#include <glslang/build_info.h>
2525
#include <glslang/Include/glslang_c_interface.h>

0 commit comments

Comments
 (0)