[96593] trunk/dports/gis/gdal

jmr at macports.org jmr at macports.org
Tue Aug 14 16:04:53 PDT 2012


Revision: 96593
          https://trac.macports.org/changeset/96593
Author:   jmr at macports.org
Date:     2012-08-14 16:04:49 -0700 (Tue, 14 Aug 2012)
Log Message:
-----------
gdal: fix case of opencl include (#34114)

Modified Paths:
--------------
    trunk/dports/gis/gdal/Portfile

Added Paths:
-----------
    trunk/dports/gis/gdal/files/patch-gdalwarpkernel_opencl_h.diff

Modified: trunk/dports/gis/gdal/Portfile
===================================================================
--- trunk/dports/gis/gdal/Portfile	2012-08-14 22:20:18 UTC (rev 96592)
+++ trunk/dports/gis/gdal/Portfile	2012-08-14 23:04:49 UTC (rev 96593)
@@ -96,7 +96,8 @@
 # Patch to ensure that the python installation respects DESTDIR
 patchfiles          patch-swig_python_GNUmakefile \
                     patch-gdalwarpkernel_opencl_c.diff \
-                    patch-frmts_gif_gifdataset.cpp.diff
+                    patch-frmts_gif_gifdataset.cpp.diff \
+                    patch-gdalwarpkernel_opencl_h.diff
 
 # Patches for universal build
 post-configure {

Added: trunk/dports/gis/gdal/files/patch-gdalwarpkernel_opencl_h.diff
===================================================================
--- trunk/dports/gis/gdal/files/patch-gdalwarpkernel_opencl_h.diff	                        (rev 0)
+++ trunk/dports/gis/gdal/files/patch-gdalwarpkernel_opencl_h.diff	2012-08-14 23:04:49 UTC (rev 96593)
@@ -0,0 +1,11 @@
+--- alg/gdalwarpkernel_opencl.h.orig	2012-04-18 14:34:27.000000000 +0200
++++ alg/gdalwarpkernel_opencl.h	2012-04-18 14:35:25.000000000 +0200
+@@ -36,7 +36,7 @@
+ #define CL_USE_DEPRECATED_OPENCL_1_0_APIS
+ 
+ #ifdef __APPLE__
+-#include <OpenCL/OpenCL.h>
++#include <OpenCL/opencl.h>
+ #else
+ #include <CL/opencl.h>
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120814/f994e3bd/attachment.html>


More information about the macports-changes mailing list