pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/mame MAME switched to C++17, fix building it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09ce08fcc8ef
branches:  trunk
changeset: 458818:09ce08fcc8ef
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Sep 20 08:41:19 2021 +0000

description:
MAME switched to C++17, fix building it on NetBSD/aarch64.

diffstat:

 emulators/mame/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r e5c09ec77797 -r 09ce08fcc8ef emulators/mame/Makefile
--- a/emulators/mame/Makefile   Mon Sep 20 08:04:13 2021 +0000
+++ b/emulators/mame/Makefile   Mon Sep 20 08:41:19 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2021/09/08 21:05:00 nia Exp $
+# $NetBSD: Makefile,v 1.139 2021/09/20 08:41:19 nia Exp $
 
 DISTNAME=      mame-0.235
 PKGREVISION=   1
@@ -44,8 +44,8 @@
 BUILDLINK_TRANSFORM+=  rm:-m64
 .endif
 
-# Need to use gnu++14 instead of c++14 to get __builtin_alloca() (!)
-BUILDLINK_TRANSFORM+=  opt:-std=c++14:-std=gnu++14
+# Need to use gnu++ instead of c++ to get __builtin_alloca() (!)
+BUILDLINK_TRANSFORM+=  opt:-std=c++17:-std=gnu++17
 
 # -Werror is problematic
 MAKE_ENV=      NOWERROR=1



Home | Main Index | Thread Index | Old Index