Bug#732063: sphinx detection

Jonathan Riddell jr at jriddell.org
Fri Dec 13 13:06:30 UTC 2013


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



More information about the debian-science-maintainers mailing list