freebsd-ports/graphics/opencv/files/patch-modules_imgcodecs_src_grfmt__png.cpp
Tobias C. Berner c582239e8a graphics/opencv: add makefile options
Bring back lot of the options that were available in the old port.

Reported by:	Ivan Rozhuk <rozhuk.im@gmail.com>
Original by:	alt2600@icloud.com
		VVD <vvd@unislabs.com>
PR:		253110
PR:		255446
2021-07-18 15:52:58 +02:00

11 lines
248 B
C++

--- modules/imgcodecs/src/grfmt_png.cpp.orig 2021-07-18 11:13:32 UTC
+++ modules/imgcodecs/src/grfmt_png.cpp
@@ -59,7 +59,7 @@
#endif
#ifdef HAVE_LIBPNG_PNG_H
-#include <libpng/png.h>
+#include <libpng16/png.h>
#else
#include <png.h>
#endif