slashem: url updates (#10281)

This commit is contained in:
Viktor Szakats 2017-02-25 17:07:35 +01:00 committed by FX Coudert
parent 7cb6f1a934
commit d51257b34d

View file

@ -2,7 +2,7 @@ require "etc"
class Slashem < Formula
desc "Fork/variant of Nethack"
homepage "https://slashem.sourceforge.io"
homepage "https://slashem.sourceforge.io/"
url "https://downloads.sourceforge.net/project/slashem/slashem-source/0.0.8E0F1/se008e0f1.tar.gz"
version "0.0.8E0F1"
sha256 "e9bd3672c866acc5a0d75e245c190c689956319f192cb5d23ea924dd77e426c3"
@ -18,11 +18,10 @@ class Slashem < Formula
depends_on "pkg-config" => :build
# Fixes compilation error in OS X:
# http://sourceforge.net/tracker/index.php?func=detail&aid=1644971&group_id=9746&atid=109746
# Fixes compilation error in OS X: https://sourceforge.net/p/slashem/bugs/896/
patch :DATA
# Fixes user check on older versions of OS X: http://sourceforge.net/p/slashem/bugs/895/
# Fixes user check on older versions of OS X: https://sourceforge.net/p/slashem/bugs/895/
# Fixed upstream: http://slashem.cvs.sourceforge.net/viewvc/slashem/slashem/configure?r1=1.13&r2=1.14&view=patch
patch :p0 do
url "https://gist.githubusercontent.com/mistydemeo/76dd291c77a509216418/raw/65a41804b7d7e1ae6ab6030bde88f7d969c955c3/slashem-configure.patch"