1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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.
This commit is contained in:
Stefan Eßer 2012-06-18 09:48:49 +00:00
parent 3941c97934
commit 5abf4738c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299557
3 changed files with 24 additions and 4 deletions

View File

@ -41,10 +41,6 @@ OPTIONS= DEBUG "Enables debugging support" Off \
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1000000
BROKEN= does not build
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif

View File

@ -0,0 +1,12 @@
--- 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

View File

@ -0,0 +1,12 @@
--- 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