Skip to content

Commit dac61fa

Browse files
Fix eedi3m build on GCC 13+: add missing cstddef include
std::max_align_t requires <cstddef> on GCC 13+ which Ubuntu 22.04 arm64 runners use. Patch the source before building. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent abfea72 commit dac61fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Scripts/download-deps-linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,10 +571,11 @@ build_plugin "nnedi3cl" \
571571
"$PLUGIN_BUILD_ENV meson setup build --buildtype=release && ninja -C build"
572572

573573
# EEDI3m (edge-directed interpolation)
574+
# Patch: add missing <cstddef> include for std::max_align_t (GCC 13+)
574575
build_plugin "eedi3m" \
575576
"https://github.com/HomeOfVapourSynthEvolution/VapourSynth-EEDI3.git" \
576577
"libeedi3m.so" \
577-
"$PLUGIN_BUILD_ENV meson setup build --buildtype=release && ninja -C build"
578+
"sed -i '1i #include <cstddef>' EEDI3/EEDI3.cpp && $PLUGIN_BUILD_ENV meson setup build --buildtype=release && ninja -C build"
578579

579580
# fmtconv (format conversion)
580581
echo ""

0 commit comments

Comments
 (0)