aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-12-17 15:55:24 -0800
committerAdam Vandenberg2012-12-17 15:55:24 -0800
commitb54a6fed8e4b9e309adbb822b1ead5f198833e1a (patch)
treed437147d66221e70ed1c41266a8f99e592da40f0 /Library
parente5cc7cb096b8b1d1b10e8cb988811997c3a14337 (diff)
downloadhomebrew-b54a6fed8e4b9e309adbb822b1ead5f198833e1a.tar.bz2
kismet: strip -rdynamic to fix clang compilation
Closes #16473.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/kismet.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/kismet.rb b/Library/Formula/kismet.rb
index 47e0da495..d0faee02c 100644
--- a/Library/Formula/kismet.rb
+++ b/Library/Formula/kismet.rb
@@ -6,6 +6,13 @@ class Kismet < Formula
homepage 'http://www.kismetwireless.net'
sha256 '71a099fb724951cdd55c28e492432ca21657534c91a536c206f3e0a8686d2a64'
+ # Strip -rdynamic, per MacPorts
+ def patches
+ { :p0 => [
+ "https://trac.macports.org/export/100624/trunk/dports/net/kismet/files/patch-configure.diff"
+ ]}
+ end
+
def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "--sysconfdir=#{etc}"