diff --git a/vlc-debian-unstable/Dockerfile b/vlc-debian-unstable/Dockerfile
index f1afd31c55359694e3e7bd7e02c1691d0de4948b..48de94a474871fa6807db69d2f3a7101c34d682d 100644
--- a/vlc-debian-unstable/Dockerfile
+++ b/vlc-debian-unstable/Dockerfile
@@ -46,6 +46,8 @@ RUN set -x && \
     echo $PROTOBUF_SHA256 protobuf-cpp-$PROTOBUF_VERSION.tar.gz | sha256sum -c && \
     tar xzfo protobuf-cpp-$PROTOBUF_VERSION.tar.gz && \
     cd protobuf-$PROTOBUF_VERSION && \
+    wget -q https://code.videolan.org/videolan/vlc/-/raw/c580054e4f3a166f93c91f94416f97d89be83c16/extras/tools/protobuf-fix-build.patch && \
+    patch -p1 < protobuf-fix-build.patch && \
     ./configure --prefix=/opt/tools/ --disable-shared --enable-static && make -j$CORES && make install && \
     rm -rf /build/*