diff options
author | Travis Hunter <cth-freebsd@pm.me> | 2024-01-31 16:45:34 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2024-02-01 04:15:19 +0000 |
commit | f403d78e327f3c57255e25a7243ecc3493427812 (patch) | |
tree | 424042866f978b996c36092554a4b6f7af6ffb5a | |
parent | 1f099b76ea8390edb29bde82b272e7856537e313 (diff) | |
download | ports-f403d78e327f3c57255e25a7243ecc3493427812.tar.gz ports-f403d78e327f3c57255e25a7243ecc3493427812.zip |
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)
-rw-r--r-- | multimedia/ffmpeg4/files/patch-libavfilter_glslang.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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" { |