From 419b805c2af54ecdfc8e99050f77a9cc9f18e1a9 Mon Sep 17 00:00:00 2001 From: Larry Shaffer Date: Sat, 22 Nov 2014 17:37:34 -0700 Subject: gdal: patch to fix segfault when compiled against sqlite 3.8.7 Closes #34389. Signed-off-by: Mike McQuaid --- Library/Formula/gdal.rb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb index 760abb4f0..82b61431e 100644 --- a/Library/Formula/gdal.rb +++ b/Library/Formula/gdal.rb @@ -4,7 +4,7 @@ class Gdal < Formula homepage 'http://www.gdal.org/' url "http://download.osgeo.org/gdal/1.11.1/gdal-1.11.1.tar.gz" sha1 "e2c67481932ec9fb6ec3c0faadc004f715c4eef4" - revision 2 + revision 3 bottle do sha1 "d224e8c01d442ecfbbe62f1c65c2f5c4b9758fbf" => :yosemite @@ -72,6 +72,17 @@ class Gdal < Formula depends_on "json-c" end + stable do + # REMOVE when 1.11.2 is released + # Fix segfault when executing OGR2SQLITE_Register() when compiled against sqlite 3.8.7 + # See: http://trac.osgeo.org/gdal/ticket/5725, https://github.com/OSGeo/gdal/commit/12d3b98 + # Fixes issue with QGIS's Save as... for vector layers: http://hub.qgis.org/issues/11526 + patch :p2 do + url "https://github.com/OSGeo/gdal/commit/12d3b984a052c59ee336f952902b82ace01ba31c.diff" + sha1 "844bb827327f9c64918499f3cce3ded9414952c4" + end + end + # Extra linking libraries in configure test of armadillo may throw warning # see: https://trac.osgeo.org/gdal/ticket/5455 # including prefix lib dir added by Homebrew: -- cgit v1.2.3