Skip to content

Commit

Permalink
Fix audit
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchall authored Feb 23, 2024
1 parent b3fb111 commit 15dab86
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Formula/ugs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class Ugs < Formula
url "https://ftp.riken.jp/iris/ugs/ugs.tar.gz"
version "2.10e"
sha256 "27bc46e975917bdf149e9ff6997885ffa24b0b1416bdf82ffaea5246b36e1f83"
revision 1

livecheck do
skip "No version information available"
Expand Down Expand Up @@ -32,8 +31,13 @@ class Ugs < Formula
end

def install
inreplace "src/aux.c", "#include <stdlib.h>\n", "#include <stdlib.h>\n#include <string.h>\n"
inreplace "src/drivers/rotated.c", "#include <stdio.h>\n", "#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n"
# fix compiler errors
inreplace "src/aux.c",
"#include <stdlib.h>\n",
"#include <stdlib.h>\n#include <string.h>\n"
inreplace "src/drivers/rotated.c",
"#include <stdio.h>\n",
"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n"

ENV.deparallelize

Expand Down

0 comments on commit 15dab86

Please sign in to comment.