aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/calcurse.rb
diff options
context:
space:
mode:
authorJack Nagel2013-11-09 20:25:21 -0600
committerJack Nagel2013-11-09 20:25:21 -0600
commitb247fbe5e2e39c5a131d6a3931b1756c4ff92b3a (patch)
tree382f599921500494426a82dfe41a09c4b51323f3 /Library/Formula/calcurse.rb
parent57a0c4b53669b6c0d2254513d67093e8231ee579 (diff)
downloadhomebrew-b247fbe5e2e39c5a131d6a3931b1756c4ff92b3a.tar.bz2
calcurse 3.1.4
Diffstat (limited to 'Library/Formula/calcurse.rb')
-rw-r--r--Library/Formula/calcurse.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/calcurse.rb b/Library/Formula/calcurse.rb
index c2d56dfae..eda9e4ef1 100644
--- a/Library/Formula/calcurse.rb
+++ b/Library/Formula/calcurse.rb
@@ -2,19 +2,17 @@ require 'formula'
class Calcurse < Formula
homepage 'http://calcurse.org/'
- url 'http://calcurse.org/files/calcurse-2.9.2.tar.gz'
- sha1 'ab59b3275a9b7eb9184797f9e998e64783b03ceb'
+ url 'http://calcurse.org/files/calcurse-3.1.4.tar.gz'
+ sha1 '5cf0cc458d6508d38aa57a12170499449f09bfd2'
depends_on 'gettext'
- fails_with :clang do
- build 425
- cause "Issue with macro expansion in htable.h"
+ # Patch sent upstream: https://github.com/cryptocrack/calcurse/pull/1
+ def patches
+ "https://github.com/jacknagel/calcurse/commit/86dd23f87bcbb32a69f5f0391439238d4e389d77.patch"
end
def install
- # need this flag otherwise there is a build error.
- ENV.append 'CFLAGS', "-fnested-functions"
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make install"