pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/xemacs On Arch Linux, the XEmacs build breaks ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37151c9d712f
branches:  trunk
changeset: 365173:37151c9d712f
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Tue Jul 11 11:29:44 2017 +0000

description:
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:

 editors/xemacs/Makefile.common |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c2e767ba1552 -r 37151c9d712f editors/xemacs/Makefile.common
--- a/editors/xemacs/Makefile.common    Tue Jul 11 11:28:02 2017 +0000
+++ b/editors/xemacs/Makefile.common    Tue Jul 11 11:29:44 2017 +0000
@@ -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-mule=yes
 CONFIGURE_ARGS+=       --with-msw=no
 CONFIGURE_ARGS+=       --pdump
+CONFIGURE_ARGS+=       --with-system-malloc
 CFLAGS+=               -Dunix
 
 # Use terminfo on NetBSD-6 and newer.



Home | Main Index | Thread Index | Old Index