[med-svn] r6548 - trunk/packages/vxl/trunk/debian/patches

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Apr 13 16:32:36 UTC 2011


Author: malat-guest
Date: 2011-04-13 16:32:29 +0000 (Wed, 13 Apr 2011)
New Revision: 6548

Modified:
   trunk/packages/vxl/trunk/debian/patches/opencl_unix.patch
Log:
fix header for opencl if present on system

Modified: trunk/packages/vxl/trunk/debian/patches/opencl_unix.patch
===================================================================
--- trunk/packages/vxl/trunk/debian/patches/opencl_unix.patch	2011-04-13 15:39:25 UTC (rev 6547)
+++ trunk/packages/vxl/trunk/debian/patches/opencl_unix.patch	2011-04-13 16:32:29 UTC (rev 6548)
@@ -1,6 +1,8 @@
---- vxl-1.14.0.orig/contrib/brl/bmods/find_open_cl.cmake
-+++ vxl-1.14.0/contrib/brl/bmods/find_open_cl.cmake
-@@ -33,6 +33,15 @@ IF (APPLE)
+Index: vxl-1.14.0/contrib/brl/bmods/find_open_cl.cmake
+===================================================================
+--- vxl-1.14.0.orig/contrib/brl/bmods/find_open_cl.cmake	2009-12-04 17:54:32.000000000 +0100
++++ vxl-1.14.0/contrib/brl/bmods/find_open_cl.cmake	2011-04-13 18:30:36.000000000 +0200
+@@ -33,6 +33,15 @@
        SET(OPENCL_LIBRARIES ${OPENCL_LIBRARY})
      ENDIF(OPENCL_LIBRARY)
    ENDIF(OPENCL_INCLUDE_PATH)
@@ -16,3 +18,18 @@
  ENDIF (APPLE)
  
  MESSAGE(STATUS "Found Open Cl? ${OPENCL_FOUND}")
+Index: vxl-1.14.0/contrib/brl/bcl/bcl_cl.h
+===================================================================
+--- vxl-1.14.0.orig/contrib/brl/bcl/bcl_cl.h	2011-04-13 18:30:39.000000000 +0200
++++ vxl-1.14.0/contrib/brl/bcl/bcl_cl.h	2011-04-13 18:30:49.000000000 +0200
+@@ -21,6 +21,10 @@
+ 
+ #include <cl.h>
+ 
++#else
++
++#include <CL/cl.h>
++
+ #endif
+ 
+ #endif




More information about the debian-med-commit mailing list