freebsd-ports/graphics/opencv/files/patch-samples-c-image.cpp
Alberto Villa 157f1b5c0d - Upgrade to 2.1.0.
- Fix build on 6.X.
- Fix build with GCC 4.5. [1]
- Fix dependency on Video4Linux. [1]
- Add LICENSE.
- Use bsd.port.options.mk.

PR:		ports/148955 [1]
Submitted by:	swell.k@gmail.com [1]
Approved by:	tabthorpe (mentor)
2010-08-27 18:16:16 +00:00

7 lines
176 B
C++

--- samples/c/image.cpp~
+++ samples/c/image.cpp
@@ -1,3 +1,4 @@
+#include <cstdio>
#include "cv.h" // include standard OpenCV headers, same as before
#include "highgui.h"