Mark Kettenis <mark.kette...@xs4all.nl> writes: >> Date: Mon, 10 Apr 2017 11:56:29 +0100 >> From: Stuart Henderson <s...@spacehopper.org> >> >> On 2017/04/09 23:56, Mark Kettenis wrote: >> > Ran into this when trying to build subversion with the default ulimit >> > -n of 128. >> >> btw, the quickest way to build subversion is like this: >> >> FLAVOR="no_bindings no_ap2 no_perl no_python no_ruby no_gnome-keyring" make >> >> Assuming this is on aarch64, at least FLAVOR=no_gnome-keyring is required >> for now (otherwise it pulls in graphics/png as a dependency, which fails >> due to missing arm_neon.h). > > Looking into arm_neon.h. This header file is supposed to be generated > using the clang_tablegen tool, which is why we missed it. > >> I'll start uploading signed snapshot packages when I have a few more >> things in place. But for now you can find some unsigned packages, >> including subversion, at http://junkpile.org/packages/aarch64/ > > Here is a diff that fixes emacs on arm64:
If emacs previously didn't build/package, then please leave out the REVISION bump. ok jca@ > Index: editors/emacs/Makefile > =================================================================== > RCS file: /cvs/ports/editors/emacs/Makefile,v > retrieving revision 1.67 > diff -u -p -r1.67 Makefile > --- editors/emacs/Makefile 10 Feb 2017 03:05:33 -0000 1.67 > +++ editors/emacs/Makefile 10 Apr 2017 11:34:25 -0000 > @@ -4,7 +4,7 @@ COMMENT= GNU editor: extensible, custom > > VERSION= 25.1 > DISTNAME= emacs-${VERSION} > -REVISION= 3 > +REVISION= 4 > > CATEGORIES= editors > > Index: editors/emacs/patches/patch-configure > =================================================================== > RCS file: /cvs/ports/editors/emacs/patches/patch-configure,v > retrieving revision 1.10 > diff -u -p -r1.10 patch-configure > --- editors/emacs/patches/patch-configure 10 Feb 2017 02:24:07 -0000 > 1.10 > +++ editors/emacs/patches/patch-configure 10 Apr 2017 11:34:25 -0000 > @@ -1,6 +1,6 @@ > $OpenBSD: patch-configure,v 1.10 2017/02/10 02:24:07 jca Exp $ > --- configure.orig Fri Sep 16 11:20:23 2016 > -+++ configure Fri Feb 10 02:56:08 2017 > ++++ configure Wed Mar 15 23:38:05 2017 > @@ -9531,7 +9531,14 @@ case "$opsys" in > openbsd) > ## Han Boetes <h...@boetes.org> says this is necessary, > @@ -8,7 +8,7 @@ $OpenBSD: patch-configure,v 1.10 2017/02 > - LD_SWITCH_SYSTEM="-Z" > + ## Enable only where necessary. > + case $host_cpu in > -+ x86_64|sparc64|arm) > ++ x86_64|sparc64|arm|aarch64) > + ;; > + powerpc|mips64el|*) > + LD_SWITCH_SYSTEM="-Z" -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE