opnsense-ports/sysutils/samesame/files/patch-samesame.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
363 B
C++

--- src/samefile.cpp~ 2010-07-14 13:22:15.000000000 +0200
+++ src/samefile.cpp 2012-06-18 11:28:10.941708203 +0200
@@ -120,7 +120,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