- release 7
Changed files:
opencv-c.patch -> 1.1
opencv.spec -> 1.26
--- /dev/null
+--- OpenCV-2.2.0/modules/legacy/include/opencv2/legacy/blobtrack.hpp.orig 2010-12-05 04:35:25.000000000 +0100
++++ OpenCV-2.2.0/modules/legacy/include/opencv2/legacy/blobtrack.hpp 2011-03-09 19:14:52.579414618 +0100
+@@ -47,6 +47,9 @@
+ //#if _MSC_VER >= 1200
+
+ #include "opencv2/core/core_c.h"
++
++#ifdef __cplusplus
++
+ #include <stdio.h>
+
+ #if _MSC_VER >= 1200 || defined __BORLANDC__
+@@ -943,6 +946,8 @@
+ CV_EXPORTS void cvTestSeqAddIntensityVariation(CvTestSeq* pTestSeq, float DI_per_frame, float MinI, float MaxI);
+ CV_EXPORTS void cvTestSeqSetFrame(CvTestSeq* pTestSeq, int n);
+
++#endif /* __cplusplus */
++
+ #endif
+
+ /* End of file. */
Summary(pl.UTF-8): Biblioteka funkcji do grafiki komputerowej w czasie rzeczywistym
Name: opencv
Version: 2.2.0
-Release: 6
+Release: 7
Epoch: 1
%if %{with unicap} || %{with xine}
License: GPL (enforced by used libraries), BSD (opencv itself)
Patch1: %{name}-cflags.patch
Patch2: %{name}-link.patch
Patch3: %{name}-unicap-c++.patch
+Patch4: %{name}-c.patch
URL: http://opencv.willowgarage.com/
%{?with_pvapi:BuildRequires: AVT_GigE_SDK-devel}
BuildRequires: OpenEXR-devel
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
install -d build