Files
MINGW-packages/mingw-w64-vtk/005-remove-bogus-stdint-check.patch
Christoph Reiter cd38ade701 vtk: Fix detection of ffmpeg. Fixes #2301 (#4432)
It was searching (for some reason) for stdint.h in <prefixes..>/include/
which doesn't exist. It only happenend to work in case msys2-runtime-devel
was installed which installs /usr/include/stdint.h.

There is no need to check for stdint.h since it's always there anyway, so
remove the check.
2018-09-24 08:31:34 +03:00

12 lines
464 B
Diff

--- VTK-8.1.1/CMake/FindFFMPEG.cmake.orig 2018-09-20 21:20:30.374287300 +0200
+++ VTK-8.1.1/CMake/FindFFMPEG.cmake 2018-09-20 22:29:52.930584400 +0200
@@ -113,7 +113,7 @@
# Note we don't check FFMPEG_LIBSWSCALE_FOUND, FFMPEG_LIBAVDEVICE_FOUND,
# and FFMPEG_LIBAVUTIL_FOUND as they are optional.
-IF (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND STDINT_OK)
+IF (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVCODEC_FOUND)
SET(FFMPEG_FOUND "YES")