aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gdal.rb13
1 files changed, 12 insertions, 1 deletions
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: