aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authortheirix2013-11-04 23:55:05 +0400
committerAdam Vandenberg2013-11-04 20:30:42 -0800
commitf23eb4307f7e9409557c857794ad707e9246e1d6 (patch)
tree533941131e6b8a04ab2263e80c2097ea8a29d2f0 /Library/Formula
parent0557ed42121ad848fba7664d7b49c6cf2d5c137a (diff)
downloadhomebrew-f23eb4307f7e9409557c857794ad707e9246e1d6.tar.bz2
cadaver: fix build against neon 0.30
Closes #23689. Closes #23966. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cadaver.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/cadaver.rb b/Library/Formula/cadaver.rb
index 96786b913..9cd046e45 100644
--- a/Library/Formula/cadaver.rb
+++ b/Library/Formula/cadaver.rb
@@ -10,6 +10,11 @@ class Cadaver < Formula
depends_on 'readline'
depends_on 'neon'
+ def patches
+ # enable build with the latest neon 0.30
+ DATA
+ end
+
def install
neon_prefix = Formula.factory('neon').opt_prefix
@@ -22,3 +27,27 @@ class Cadaver < Formula
system "make install"
end
end
+
+__END__
+--- cadaver-0.23.3-orig/configure 2009-12-16 01:36:26.000000000 +0300
++++ cadaver-0.23.3/configure 2013-11-04 22:44:00.000000000 +0400
+@@ -10328,7 +10328,7 @@
+ $as_echo "$ne_cv_lib_neon" >&6; }
+ if test "$ne_cv_lib_neon" = "yes"; then
+ ne_cv_lib_neonver=no
+- for v in 27 28 29; do
++ for v in 27 28 29 30; do
+ case $ne_libver in
+ 0.$v.*) ne_cv_lib_neonver=yes ;;
+ esac
+@@ -10975,8 +10975,8 @@
+ fi
+
+ else
+- { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&5
+-$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&6;}
++ { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&5
++$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&6;}
+ neon_got_library=no
+ fi
+