FreeBSD Bugzilla – Attachment 108127 Details for
Bug 148955
[patch] graphics/opencv: use libv4l, fix gcc45 build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a.diff
a.diff (text/plain), 1.82 KB, created by
swell.k
on 2010-07-26 11:40:03 UTC
(
hide
)
Description:
a.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2010-07-26 11:40:03 UTC
Size:
1.82 KB
patch
obsolete
>Index: graphics/opencv/Makefile >=================================================================== >RCS file: /a/.cvsup/ports/graphics/opencv/Makefile,v >retrieving revision 1.22 >diff -u -p -r1.22 Makefile >--- graphics/opencv/Makefile 24 Jul 2010 16:38:13 -0000 1.22 >+++ graphics/opencv/Makefile 26 Jul 2010 10:25:58 -0000 >@@ -135,7 +135,7 @@ CMAKE_ARGS+= -DWITH_TIFF:BOOL=Off > .endif > > .if !defined(WITHOUT_V4L) >-BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat >+LIB_DEPENDS+= v4l2.0:${PORTSDIR}/multimedia/libv4l > CMAKE_ARGS+= -DWITH_V4L:BOOL=On \ > -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" > .else >Index: graphics/opencv/files/patch-apps-traincascade-imagestorage.h >=================================================================== >RCS file: graphics/opencv/files/patch-apps-traincascade-imagestorage.h >diff -N graphics/opencv/files/patch-apps-traincascade-imagestorage.h >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ graphics/opencv/files/patch-apps-traincascade-imagestorage.h 26 Jul 2010 10:14:03 -0000 >@@ -0,0 +1,10 @@ >+--- apps/traincascade/imagestorage.h~ >++++ apps/traincascade/imagestorage.h >+@@ -1,6 +1,7 @@ >+ #ifndef _OPENCV_IMAGESTORAGE_H_ >+ #define _OPENCV_IMAGESTORAGE_H_ >+ >++#include <cstdio> >+ #include <highgui.h> >+ >+ using namespace cv; >Index: graphics/opencv/files/patch-samples-c-image.cpp >=================================================================== >RCS file: graphics/opencv/files/patch-samples-c-image.cpp >diff -N graphics/opencv/files/patch-samples-c-image.cpp >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ graphics/opencv/files/patch-samples-c-image.cpp 26 Jul 2010 10:13:54 -0000 >@@ -0,0 +1,7 @@ >+--- 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" >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 148955
: 108127