Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slrn: fix compile on Xcode 12 #66344

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Formula/slrn.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class Slrn < Formula
desc "Powerful console-based newsreader"
homepage "https://slrn.sourceforge.io/"
homepage "https://slrn.info/"
url "https://jedsoft.org/releases/slrn/slrn-1.0.3a.tar.bz2"
sha256 "3ba8a4d549201640f2b82d53fb1bec1250f908052a7983f0061c983c634c2dac"
license "GPL-2.0-or-later"
Expand All @@ -27,6 +27,10 @@ def install
man1.mkpath
mkdir_p "#{var}/spool/news/slrnpull"

# Work around configure issues with Xcode 12. Hopefully this will not be
# needed after next slrn release.
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"

system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-ssl=#{Formula["openssl@1.1"].opt_prefix}",
Expand Down