freebsd-ports/sysutils/samesame/files/patch-samearchive.cpp
Stefan Eßer 5abf4738c3 Unbreak by removal of the assignment to malloc_options (which does not
exist in 10-CURRENT after the import of the new jemalloc).
Jason Evans announced in a mail to -current back in February 2008, that
the "H" option had been made obsolete due to a change in jemalloc, but
I leave the port unchanged for versions before 10-CURRENT.
2012-06-18 09:48:49 +00:00

12 lines
369 B
C++

--- src/samearchive.cpp~ 2010-02-04 09:08:04.000000000 +0100
+++ src/samearchive.cpp 2012-06-18 11:33:47.307181515 +0200
@@ -162,7 +162,9 @@
{
#if HAVE_MALLOC
#if __BSD_VISIBLE
+#if __FreeBSD_version < 1000000
_malloc_options = "H";
+#endif // __FreeBSD_version
#endif // __BSD_VISIBLE
#else // HAVE_MALLOC
#error malloc function required, see file config.h.in