aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-08-21 20:52:44 +0800
committerjbeich <jbeich@FreeBSD.org>2015-08-21 20:52:44 +0800
commite6a132162a3e25404fd9f079a9bc36995a96544d (patch)
tree65c61cc907b26aaf6363e38817f2614ba3899854 /www
parentdafa5f8097ca7fa622b6526c886cbabb4a3da0d0 (diff)
downloadfreebsd-ports-gnome-e6a132162a3e25404fd9f079a9bc36995a96544d.tar.gz
freebsd-ports-gnome-e6a132162a3e25404fd9f079a9bc36995a96544d.tar.zst
freebsd-ports-gnome-e6a132162a3e25404fd9f079a9bc36995a96544d.zip
www/seamonkey: fix bundled jemalloc3 configure on DragonFly
seamonkey-2.33.1 uses firefox-36.0.4 codebase shiped with jemalloc-3.6.0. Obtained from: https://github.com/jemalloc/jemalloc/commit/1aa25a3
Diffstat (limited to 'www')
-rw-r--r--www/seamonkey/files/patch-mozilla-memory-jemalloc-configure.ac28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/seamonkey/files/patch-mozilla-memory-jemalloc-configure.ac b/www/seamonkey/files/patch-mozilla-memory-jemalloc-configure.ac
new file mode 100644
index 000000000000..db668d89f872
--- /dev/null
+++ b/www/seamonkey/files/patch-mozilla-memory-jemalloc-configure.ac
@@ -0,0 +1,28 @@
+commit 1aa25a3
+Author: Michael Neumann <mneumann@ntecs.de>
+Date: Tue Aug 5 03:06:02 2014 +0200
+
+ Support DragonFlyBSD
+
+ Note that in contrast to FreeBSD, DragonFly does not work
+ with force_lazy_lock enabled.
+---
+ configure.ac | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git mozilla/memory/jemalloc/src/configure.ac mozilla/memory/jemalloc/src/configure.ac
+index 645bd46..83c60ec 100644
+--- mozilla/memory/jemalloc/src/configure.ac
++++ mozilla/memory/jemalloc/src/configure.ac
+@@ -283,6 +283,11 @@ case "${host}" in
+ AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
+ force_lazy_lock="1"
+ ;;
++ *-*-dragonfly*)
++ CFLAGS="$CFLAGS"
++ abi="elf"
++ AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
++ ;;
+ *-*-linux*)
+ CFLAGS="$CFLAGS"
+ CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"