aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorArt Taylor2014-03-28 12:07:12 -0700
committerMisty De Meo2014-03-28 12:20:13 -0700
commitdb3cf58946e68a7de1272051eb04fb39724081a1 (patch)
tree99a8325346ca452b2f1223273ad2ce8ec739833b /Library/Formula
parent479d65c6289b86379a27cb51296d8a8518e0eaf0 (diff)
downloadhomebrew-db3cf58946e68a7de1272051eb04fb39724081a1.tar.bz2
ufraw: fix build with clang 3.4
Closes #27951. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ufraw.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/ufraw.rb b/Library/Formula/ufraw.rb
index cc7125807..e2ff6fd24 100644
--- a/Library/Formula/ufraw.rb
+++ b/Library/Formula/ufraw.rb
@@ -15,6 +15,13 @@ class Ufraw < Formula
depends_on 'little-cms'
depends_on 'exiv2' => :optional
+ # Fixes compilation with clang 3.4; fixed upstream
+ # http://sourceforge.net/p/ufraw/bugs/365/
+ patch :p0 do
+ url "https://trac.macports.org/export/115801/trunk/dports/graphics/ufraw/files/cplusplus.patch"
+ sha1 "eb6a782625ba99dc2dcdaf574734734d17a75562"
+ end
+
fails_with :llvm do
cause "Segfault while linking"
end