From 49570f33a50ade515b72dab87006c10fcd3c89d6 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Sat, 23 Mar 2019 17:48:26 +0100 Subject: [PATCH] mapserver 7.2.2 --- Formula/mapserver.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Formula/mapserver.rb b/Formula/mapserver.rb index acc1b63dcd..36486b3723 100644 --- a/Formula/mapserver.rb +++ b/Formula/mapserver.rb @@ -1,9 +1,8 @@ class Mapserver < Formula desc "Publish spatial data and interactive mapping apps to the web" homepage "https://mapserver.org/" - url "https://download.osgeo.org/mapserver/mapserver-7.2.1.tar.gz" - sha256 "9459a7057d5a85be66a41096a5d804f74665381186c37077c94b56e784db6102" - revision 1 + url "https://download.osgeo.org/mapserver/mapserver-7.2.2.tar.gz" + sha256 "287f8dfe10961bc685bb87e118b7aa81382df907b2b3961d6559169b527ba95c" bottle do cellar :any @@ -63,6 +62,10 @@ class Mapserver < Formula # 2): Library not loaded: @rpath/libmapserver.1.dylib args << "-DCMAKE_SKIP_RPATH=ON" + # Use Proj 6.0.0 compatibility headers + # https://github.com/mapserver/mapserver/issues/5766 + ENV.append_to_cflags "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" + mkdir "build" do system "cmake", "..", *args system "make", "install"