| Summary: | [patch] graphics/opencv: use libv4l, fix gcc45 build | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | swell.k <swell.k> | ||||
| Component: | Individual Port(s) | Assignee: | Alberto Villa <avilla> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->avilla Over to maintainer (via the GNATS Auto Assign Tool) avilla 2010-08-27 18:16:16 UTC
FreeBSD ports repository
Modified files:
graphics/opencv Makefile distinfo pkg-plist
Added files:
graphics/opencv/files patch-apps-traincascade-imagestorage.h
patch-samples-c-image.cpp
Log:
- 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)
Revision Changes Path
1.23 +57 -32 ports/graphics/opencv/Makefile
1.4 +3 -3 ports/graphics/opencv/distinfo
1.1 +10 -0 ports/graphics/opencv/files/patch-apps-traincascade-imagestorage.h (new)
1.1 +7 -0 ports/graphics/opencv/files/patch-samples-c-image.cpp (new)
1.5 +6 -5 ports/graphics/opencv/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks! |
When libv4l is installed this ports unconditionally links against it when V4L option is enabled. How-To-Repeat: 1. install multimedia/libv4l 2. install graphics/opencv 3. deinstall multimedia/libv4l 4. check ldd ---- $ make CC=gcc45 CXX=g++45 ... In file included from /a/OpenCV-2.0.0/apps/traincascade/features.h:4:0, from /a/OpenCV-2.0.0/apps/traincascade/cascadeclassifier.h:5, from /a/OpenCV-2.0.0/apps/traincascade/traincascade.cpp:2: /a/OpenCV-2.0.0/apps/traincascade/imagestorage.h:27:9: error: 'FILE' does not name a type /a/OpenCV-2.0.0/samples/c/image.cpp: In function 'int main(int, char**)': /a/OpenCV-2.0.0/samples/c/image.cpp:16:17: error: 'stderr' was not declared in this scope /a/OpenCV-2.0.0/samples/c/image.cpp:16:61: error: 'fprintf' was not declared in this scope