pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-bsnes-mercury libretro-bsnes-mercur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e09dd68f3c19
branches:  trunk
changeset: 333958:e09dd68f3c19
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 18 09:42:03 2019 +0000

description:
libretro-bsnes-mercury: Don't break on aarch64.

diffstat:

 emulators/libretro-bsnes-mercury/Makefile.common |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r bc5086d78f60 -r e09dd68f3c19 emulators/libretro-bsnes-mercury/Makefile.common
--- a/emulators/libretro-bsnes-mercury/Makefile.common  Sat May 18 08:37:10 2019 +0000
+++ b/emulators/libretro-bsnes-mercury/Makefile.common  Sat May 18 09:42:03 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2018/10/03 09:33:41 nia Exp $
+# $NetBSD: Makefile.common,v 1.4 2019/05/18 09:42:03 nia Exp $
 #
 # used by emulators/libretro-bsnes-mercury/Makefile
 # used by emulators/libretro-bsnes-mercury-accuracy/Makefile
@@ -35,5 +35,12 @@
        ${INSTALL_LIB} ${WRKSRC}/out/bsnes_mercury_${BSNES_PROFILE}_libretro.so \
            ${DESTDIR}${PREFIX}/lib/libretro/bsnes_mercury_${BSNES_PROFILE}_libretro.so
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+# Needed in libco/aarch64.c
+.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb"
+CFLAGS+=       -DHAVE_POSIX_MEMALIGN=1
+.endif
+
 .include "../../mk/dlopen.buildlink3.mk"
 BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}



Home | Main Index | Thread Index | Old Index