opnsense-ports/sysutils/samesame/files/patch-samearchive.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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