[MacPorts] #41336: hping3 build fails under Mavericks
#41336: hping3 build fails under Mavericks ----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: hping3 ----------------------------+-------------------------------- hping3 has run into a common compiler issue under Mavericks. clang fails with {{{ gethostname.c:21:8: error: expected parameter declarator size_t strlcpy(char *dst, const char *src, size_t siz); ^ }}} A simple work around is to use gcc, e.g. gcc-mp-4.8. As Makefile.in has gcc hard coded, adding configure.cc in the Portfile does not work. Modified patch-Makefile.in.diff attached. -- Ticket URL: <https://trac.macports.org/ticket/41336> MacPorts <http://www.macports.org/> Ports system for OS X
#41336: hping3 build fails under Mavericks -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: duplicate | Keywords: Port: hping3 | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Using FSF GCC is not an acceptable solution due to the mixing of C++ runtimes that this will cause. The code needs to be fixed so that it builds with clang. Anyway, this is a duplicate of #40763. Please search existing tickets before filing a new one. -- Ticket URL: <https://trac.macports.org/ticket/41336#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts