class Gts < Formula desc "GNU triangulated surface library" homepage "https://gts.sourceforge.io/" url "https://downloads.sourceforge.net/project/gts/gts/0.7.6/gts-0.7.6.tar.gz" sha256 "059c3e13e3e3b796d775ec9f96abdce8f2b3b5144df8514eda0cc12e13e8b81e" revision 2 bottle do cellar :any sha256 "8a0c9b4f60a2cbea2e2e3469880284c2373843e676aaf58c1ff28d1e31c2ccb9" => :catalina sha256 "e0ba5b2700ba2a0c88a6345117a699c08f47738d3e727dbc64d815d1a3b7492b" => :mojave sha256 "5aa85562ed3d0aad446825d7c4e3cc717f8044a2c638bbdcdd0e18bc0f366e81" => :high_sierra end depends_on "pkg-config" => :build depends_on "gettext" depends_on "glib" depends_on "netpbm" # Fix for newer netpbm. # This software hasn't been updated in seven years patch :DATA def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install" end end __END__ diff --git a/examples/happrox.c b/examples/happrox.c index 88770a8..11f140d 100644 --- a/examples/happrox.c +++ b/examples/happrox.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include "config.h" #ifdef HAVE_GETOPT_H # include