summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2017-07-11 11:29:44 +0000
committerhauke <hauke@pkgsrc.org>2017-07-11 11:29:44 +0000
commit8159cd95433cb74b6e3dc5b2d3a9886685835df0 (patch)
tree15db55befdd239f5e40f3329d8ca4ad7a550e936 /editors
parent23748a99d5b651f572bd9427c83dfdb9b57f1089 (diff)
downloadpkgsrc-8159cd95433cb74b6e3dc5b2d3a9886685835df0.tar.gz
On Arch Linux, the XEmacs build breaks in src/gmalloc.c because extern
declarations conflict with system headers. After patching this file, the build then hangs at ./xemacs -nd -batch -l /var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/../lisp/update-elc.el with the xemacs process spinning at 100% cpu. Upstream states that the XEmacs malloc has not been updated in a long time, and that it is safe to use the system malloc, so that's what we'll do.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/xemacs/Makefile.common b/editors/xemacs/Makefile.common
index 5341d401a74..a81caad9a7a 100644
--- a/editors/xemacs/Makefile.common
+++ b/editors/xemacs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2017/06/12 09:34:12 hauke Exp $
+# $NetBSD: Makefile.common,v 1.25 2017/07/11 11:29:44 hauke Exp $
#
# used by editors/xemacs-nox11/Makefile
# used by editors/xemacs/Makefile
@@ -43,6 +43,7 @@ CONFIGURE_ARGS+= --with-clash-detection
CONFIGURE_ARGS+= --with-mule=yes
CONFIGURE_ARGS+= --with-msw=no
CONFIGURE_ARGS+= --pdump
+CONFIGURE_ARGS+= --with-system-malloc
CFLAGS+= -Dunix
# Use terminfo on NetBSD-6 and newer.