From 83a9b45ade265718fe2f7740740aa05f437c48ef Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 9 Feb 2013 13:08:27 -0800 Subject: uudeview: patch to compile with clang --- Library/Formula/uudeview.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/uudeview.rb b/Library/Formula/uudeview.rb index a188a75c6..ed56f8b0e 100644 --- a/Library/Formula/uudeview.rb +++ b/Library/Formula/uudeview.rb @@ -5,9 +5,9 @@ class Uudeview < Formula url 'http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz' sha1 '2c6ab7d355b545218bd0877d598bd5327d9fd125' - fails_with :clang do - build 425 - cause "inews.c:195:4: error: non-void function 'append_signature' should return a value [-Wreturn-type]" + # Fix function signatures (for clang) + def patches + {:p0 => "https://trac.macports.org/export/102865/trunk/dports/mail/uudeview/files/inews.c.patch" } end def install -- cgit v1.2.3