aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:21 -0500
committerJack Nagel2014-03-20 21:44:15 -0500
commitbe573e9b106d6fc800c6b71cf1bf96c5eb1466b1 (patch)
tree97d6ece20e8b4dd4871281e65cafb54c0b323655 /Library/Formula
parentaa026307755667da9635359af675c0e6fc6355c8 (diff)
downloadhomebrew-be573e9b106d6fc800c6b71cf1bf96c5eb1466b1.tar.bz2
swftools: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/swftools.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/swftools.rb b/Library/Formula/swftools.rb
index 9be54410c..43d005da2 100644
--- a/Library/Formula/swftools.rb
+++ b/Library/Formula/swftools.rb
@@ -18,13 +18,11 @@ class Swftools < Formula
sha1 '499423e8a795e0efd76ca798239eb4d0d52fe248'
end
- def patches
- # Fixes a conftest for libfftwf.dylib that mistakenly calls fftw_malloc()
- # rather than fftwf_malloc(). Reported upstream to their mailing list:
- # http://lists.nongnu.org/archive/html/swftools-common/2012-04/msg00014.html
- # Patch is merged upstream. Remove at swftools-0.9.3.
- DATA
- end
+ # Fixes a conftest for libfftwf.dylib that mistakenly calls fftw_malloc()
+ # rather than fftwf_malloc(). Reported upstream to their mailing list:
+ # http://lists.nongnu.org/archive/html/swftools-common/2012-04/msg00014.html
+ # Patch is merged upstream. Remove at swftools-0.9.3.
+ patch :DATA
def install
(buildpath+'lib/pdf').install resource('xpdf') if build.with? "xpdf"