aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-01-17 15:14:13 -0800
committerAdam Vandenberg2013-01-17 15:14:13 -0800
commit97ead0765c446f9b42a465477c08ddb9a4182563 (patch)
treecbafddecca8dafc355a46a9a030f68480b69a47b /Library
parent73741aa2263c30c58cb11113bb5498597bb1f47a (diff)
downloadhomebrew-97ead0765c446f9b42a465477c08ddb9a4182563.tar.bz2
gobby: patch for clang
Closes #17137.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gobby.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/gobby.rb b/Library/Formula/gobby.rb
index 26349b49a..0c5069f68 100644
--- a/Library/Formula/gobby.rb
+++ b/Library/Formula/gobby.rb
@@ -18,9 +18,18 @@ class Gobby < Formula
depends_on 'libinfinity'
depends_on :x11
+ # Fix compilation on clang per MacPorts
+ def patches
+ { :p0 => [
+ "https://trac.macports.org/export/101720/trunk/dports/x11/gobby/files/patch-code-util-config.hpp.diff"
+ ]}
+ end
+
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
+ # Don't link this into share!
+ (share/"icons/hicolor/icon-theme.cache").unlink
end
end