From 7947b538f0d293d786204a56135a71bce1c2f35d Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Mon, 28 Oct 2013 23:26:52 -0700 Subject: hping: fix building with secure strlcpy. Closes #23677. --- Library/Formula/hping.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3