[MacPorts] #40763: hping3 @20051105_1: build fails: expected parameter declarator
MacPorts
noreply at macports.org
Sun May 11 22:52:50 PDT 2014
#40763: hping3 @20051105_1: build fails: expected parameter declarator
---------------------+-------------------
Reporter: rr@… | Owner: pmq@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: hping3 |
---------------------+-------------------
Comment (by macports@…):
Replying to [comment:9 meg_lao@…]:
> Replying to [comment:4 kvanrhee@…]:
> > Replying to [comment:2 tryn@…]:
> > > I ran into this with Homebrew, and it has to do with the new/default
secure strlcpy/strlcat functions.
> > >
> > > One option is to dive into the source and make it properly secure.
Considering it hasn't been updated for eight years, I went with the second
options.
> > >
> > > Append this to the CFLAGS: "-D_FORTIFY_SOURCE=0".
> > Can you explain how I do this? Or give me hint to the right direction
so I can figure it out myself? Thanks!
> I edited the file
>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_net_hping3/hping3/work/Makefile
> and change line
> {{{
> CCOPT= -O2 -Wall -DUSE_TCL
> }}}
> to
> {{{
> CCOPT= -O2 -Wall -DUSE_TCL -D_FORTIFY_SOURCE=0
> }}}
>
> That works for me.
>
Could you please provide any hint as to how to proceed with the
installation of hping3? The Makefile mentioned in your post does not exist
after a (failed) build on my system. So I'd like to know how to apply the
fix and proceed with the installation thereafter. Thanks in advance!
--
Ticket URL: <https://trac.macports.org/ticket/40763#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list