diff --git a/Formula/xplanet.rb b/Formula/xplanet.rb index e5c9f8f79d..069b5b9cdd 100644 --- a/Formula/xplanet.rb +++ b/Formula/xplanet.rb @@ -3,6 +3,7 @@ class Xplanet < Formula homepage "https://xplanet.sourceforge.io/" url "https://downloads.sourceforge.net/project/xplanet/xplanet/1.3.1/xplanet-1.3.1.tar.gz" sha256 "4380d570a8bf27b81fb629c97a636c1673407f4ac4989ce931720078a90aece7" + revision 1 bottle do rebuild 1 @@ -44,6 +45,13 @@ class Xplanet < Formula sha256 "3f95ba8d5886703afffdd61ac2a0cd147f8d659650e291979f26130d81b18433" end + # Fix compilation with giflib 5 + # https://xplanet.sourceforge.io/FUDforum2/index.php?t=msg&th=592 + patch do + url "https://raw.githubusercontent.com/Homebrew/formula-patches/master/xplanet/xplanet-1.3.1-giflib5.patch" + sha256 "0a88a9c984462659da37db58d003da18a4c21c0f4cd8c5c52f5da2b118576d6e" + end + def install args = %W[ --disable-dependency-tracking