aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 21:35:22 -0500
committerJack Nagel2014-03-16 22:57:28 -0500
commit29718b39062d2df0487719beb79c4135e77cd1a7 (patch)
treee65713bea6273562fe0dc1063be1f0dc29a591a4
parent62d3f1383a52a3f0052fb310db6e82b301a0add2 (diff)
downloadhomebrew-29718b39062d2df0487719beb79c4135e77cd1a7.tar.bz2
par2: use checksummed patches
-rw-r--r--Library/Formula/par2.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/par2.rb b/Library/Formula/par2.rb
index a8de15ced..9e29ef50b 100644
--- a/Library/Formula/par2.rb
+++ b/Library/Formula/par2.rb
@@ -8,13 +8,13 @@ class Par2 < Formula
conflicts_with "par2tbb",
:because => "par2 and par2tbb install the same binaries."
- def patches
- [
- # Fixes compilation with GCC 4 and still required for clang
- "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch?revision=1.1",
- # Clang doesn't like variable length arrays of non-POD types.
- DATA
- ]
+ # Clang doesn't like variable length arrays of non-POD types.
+ patch :DATA
+
+ # Fixes compilation with GCC 4 and still required for clang
+ patch do
+ url "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch?revision=1.1"
+ sha1 "e91540f729115c5ddc210c93bdda34090e2a2cf1"
end
def install