From 033d851873641bae15e4afff40ccd6347c3251c6 Mon Sep 17 00:00:00 2001 From: Tino Wagner Date: Tue, 5 Mar 2019 22:45:14 +0100 Subject: [PATCH] gwyddion: add patch Closes #37633. Signed-off-by: FX Coudert --- Formula/gwyddion.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Formula/gwyddion.rb b/Formula/gwyddion.rb index 945b87ac59..135bb87e47 100644 --- a/Formula/gwyddion.rb +++ b/Formula/gwyddion.rb @@ -3,6 +3,7 @@ class Gwyddion < Formula homepage "http://gwyddion.net/" url "http://gwyddion.net/download/2.53/gwyddion-2.53.tar.gz" sha256 "d142569adc4d523e51ca53cbff19414576facb774e5f4dad88b6ec475972f081" + revision 1 bottle do sha256 "39db3a4a1092c64a06402814a3317e9bda5d932c6c409ba742b67203df6075df" => :mojave @@ -21,6 +22,13 @@ class Gwyddion < Formula depends_on "pygtk" depends_on "python@2" + # Fixes problem with finding resource files in version 2.53. + # + patch do + url "http://gwyddion.net/download/2.53/gwyddion-2.53-ensure-osx-basedir.patch" + sha256 "17e5282d7add1e1af0d530885dbe501e29869340ba6d77879bf67e7a9f860990" + end + def install system "./configure", "--disable-dependency-tracking", "--disable-desktop-file-update",