aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorLarry Shaffer2014-11-22 17:37:34 -0700
committerMike McQuaid2014-11-23 10:50:47 +0000
commit419b805c2af54ecdfc8e99050f77a9cc9f18e1a9 (patch)
tree431c96069900847c7adb0194b9394ad591ce4bb1 /Library/Formula
parent62c0a7abfb6fa891f80277bbe5c153f180b77c3a (diff)
downloadhomebrew-419b805c2af54ecdfc8e99050f77a9cc9f18e1a9.tar.bz2
gdal: patch to fix segfault when compiled against sqlite 3.8.7
Closes #34389. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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: