Permalink
Showing
with
24 additions
and 21 deletions.
- +10 −21 devel/uriparser/Portfile
- +14 −0 devel/uriparser/files/testrunner.patch
| @@ -0,0 +1,14 @@ | ||
| Fix crash in testrunner | ||
| https://github.com/uriparser/uriparser/issues/67 | ||
| https://github.com/uriparser/uriparser/commit/f870e6c68696a6018702caa5c8a2feba9b0f99fa | ||
| --- test/MemoryManagerSuite.cpp.orig | ||
| +++ test/MemoryManagerSuite.cpp | ||
| @@ -19,6 +19,8 @@ | ||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| */ | ||
|
|
||
| +#undef NDEBUG // because we rely on assert(3) further down | ||
| + | ||
| #include <cassert> | ||
| #include <cerrno> | ||
| #include <cstring> // memcpy |