aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornibbles 2bits2012-08-09 22:20:59 -0700
committerAdam Vandenberg2012-08-09 22:34:34 -0700
commita5e0b95c972691603fbaeca58af44b2fce0ebabd (patch)
treedec101111b58ccd5a18d604938723603a8c5da28
parent60969543fae65ead0d74e84d11b5e27099f645a9 (diff)
downloadhomebrew-a5e0b95c972691603fbaeca58af44b2fce0ebabd.tar.bz2
discount 2.1.5a
Upgrade discount to the latest stable. This includes bug fixes for clang. So remove the patch. Tested with clang and llvm from XCode-4.4.1. Fixes #14011 Closes #14100. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/discount.rb39
1 files changed, 2 insertions, 37 deletions
diff --git a/Library/Formula/discount.rb b/Library/Formula/discount.rb
index 61de2a172..706a09997 100644
--- a/Library/Formula/discount.rb
+++ b/Library/Formula/discount.rb
@@ -2,14 +2,8 @@ require 'formula'
class Discount < Formula
homepage 'http://www.pell.portland.or.us/~orc/Code/discount/'
- url 'https://github.com/Orc/discount/tarball/v2.1.3'
- sha1 '9d2dc33a1f80e7dd56f2c7ee1aec0a3e6e60302f'
-
- # Work around clang-incompatible test
- # We know we have strcasecmp and strncasecmp, so just
- # skip the test. Repoted upstream in
- # https://github.com/Orc/discount/issues/55
- def patches; DATA; end
+ url 'https://github.com/Orc/discount/tarball/v2.1.5a'
+ sha1 '73dcf117fa6ca15332c67f246544cd224bfc1774'
def install
system "./configure.sh", "--prefix=#{prefix}",
@@ -22,32 +16,3 @@ class Discount < Formula
system "make install.everything"
end
end
-
-__END__
-diff --git a/configure.sh b/configure.sh
-index 43ef971..821832b 100755
---- a/configure.sh
-+++ b/configure.sh
-@@ -102,22 +102,6 @@ else
- AC_DEFINE 'COINTOSS()' '1'
- fi
-
--if AC_CHECK_FUNCS strcasecmp; then
-- :
--elif AC_CHECK_FUNCS stricmp; then
-- AC_DEFINE strcasecmp stricmp
--else
-- AC_FAIL "$TARGET requires either strcasecmp() or stricmp()"
--fi
--
--if AC_CHECK_FUNCS strncasecmp; then
-- :
--elif AC_CHECK_FUNCS strnicmp; then
-- AC_DEFINE strncasecmp strnicmp
--else
-- AC_FAIL "$TARGET requires either strncasecmp() or strnicmp()"
--fi
--
- if AC_CHECK_FUNCS fchdir || AC_CHECK_FUNCS getcwd ; then
- AC_SUB 'THEME' ''
- else