PKGBUILDs/community/gmic/gmic-opencv4.patch

13 lines
283 B
Diff
Raw Normal View History

2018-11-24 13:40:19 +00:00
diff --git a/CImg.h b/CImg.h
index af63bcb..c7757fc 100644
--- a/CImg.h
+++ b/CImg.h
2019-03-15 18:23:08 +00:00
@@ -417,6 +417,7 @@
2018-11-24 13:40:19 +00:00
#endif
#include <cstddef>
2019-03-15 18:23:08 +00:00
#include <opencv2/opencv.hpp>
2018-11-24 13:40:19 +00:00
+#include <opencv2/videoio/videoio_c.h>
2019-03-15 18:23:08 +00:00
#if CV_MAJOR_VERSION >=3
#define _cimg_fourcc cv::VideoWriter::fourcc
#else