aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hping.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/hping.rb b/Library/Formula/hping.rb
index 199f1d1db..ee530beec 100644
--- a/Library/Formula/hping.rb
+++ b/Library/Formula/hping.rb
@@ -18,6 +18,10 @@ class Hping < Formula
end
def install
+ # Conflict with secure strcpy function. Applying suggested fix from macports.
+ # http://trac.macports.org/ticket/40763#comment:2
+ ENV.append 'CFLAGS', '-D_FORTIFY_SOURCE=0'
+
# Compile fails with tcl support; TCL on OS X is 32-bit only
system "./configure", "--no-tcl"