git: f403d78e327f - 2024Q1 - multimedia/ffmpeg4: unbreak GLSLANG=on build after d35ea7b74f4a
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Feb 2024 04:15:22 UTC
The branch 2024Q1 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=f403d78e327f3c57255e25a7243ecc3493427812 commit f403d78e327f3c57255e25a7243ecc3493427812 Author: Travis Hunter <cth-freebsd@pm.me> AuthorDate: 2024-01-31 16:45:34 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-02-01 04:15:19 +0000 multimedia/ffmpeg4: unbreak GLSLANG=on build after d35ea7b74f4a libavfilter/glslang.cpp:164:5: error: use of undeclared identifier 'assert' assert(glslang_refcount); ^ PR: 276469 Tested by: vvd Regressed by: https://github.com/KhronosGroup/glslang/commit/6f9ab3c2deb6 See also: https://github.com/ffmpeg/ffmpeg/commit/246f841b53e1 (cherry picked from commit d5183fa79df24e0716ab928298d161804e8530de) --- multimedia/ffmpeg4/files/patch-libavfilter_glslang.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/multimedia/ffmpeg4/files/patch-libavfilter_glslang.cpp b/multimedia/ffmpeg4/files/patch-libavfilter_glslang.cpp new file mode 100644 index 000000000000..a331fdeb349f --- /dev/null +++ b/multimedia/ffmpeg4/files/patch-libavfilter_glslang.cpp @@ -0,0 +1,10 @@ +--- libavfilter/glslang.cpp.orig 2023-04-12 18:01:50 UTC ++++ 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" {