Package: opencv

I had to add this patch to fix compilation with sphinx 1.2

Index: opencv-2.4.6.1+dfsg/cmake/OpenCVDetectPython.cmake
===================================================================
--- opencv-2.4.6.1+dfsg.orig/cmake/OpenCVDetectPython.cmake     2013-12-13 
12:59:27.672317672 +0000
+++ opencv-2.4.6.1+dfsg/cmake/OpenCVDetectPython.cmake  2013-12-13 
12:59:57.224318429 +0000
@@ -108,7 +108,7 @@
                         OUTPUT_QUIET
                         ERROR_VARIABLE SPHINX_OUTPUT
                         OUTPUT_STRIP_TRAILING_WHITESPACE)
-        if(SPHINX_OUTPUT MATCHES "^Sphinx v([0-9][^ \n]*)")
+        if(SPHINX_OUTPUT MATCHES "Sphinx v([0-9][^ \n]*)")
           set(SPHINX_VERSION "${CMAKE_MATCH_1}")
           set(HAVE_SPHINX 1)
           message(STATUS "Found Sphinx ${SPHINX_VERSION}: ${SPHINX_BUILD}")


Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to