pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libtorrent-rasterbar libtorrent-rasterbar: Pass gn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d14cb2a85b6e
branches:  trunk
changeset: 448669:d14cb2a85b6e
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 12 09:24:36 2021 +0000

description:
libtorrent-rasterbar: Pass gnu++14 through wrappers instead of c++14

While it doesn't specify a -std= argument by default (which is a bug),
it needs C++14 but also uses alloca(), which is not properly defined
on NetBSD unless GNU extensions are enabled.

this should help building this package on aarch64.

diffstat:

 net/libtorrent-rasterbar/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8fd07d074d18 -r d14cb2a85b6e net/libtorrent-rasterbar/Makefile
--- a/net/libtorrent-rasterbar/Makefile Fri Mar 12 08:48:49 2021 +0000
+++ b/net/libtorrent-rasterbar/Makefile Fri Mar 12 09:24:36 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2021/01/06 14:25:53 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/03/12 09:24:36 nia Exp $
 
 DISTNAME=      libtorrent-rasterbar-1.2.12
 CATEGORIES=    net
@@ -12,7 +12,7 @@
 LICENSE=       modified-bsd
 
 USE_CMAKE=     yes
-USE_LANGUAGES= c c++14
+USE_LANGUAGES= c gnu++14
 USE_TOOLS+=    pkg-config
 
 GCC_REQD+=     6 # c++14



Home | Main Index | Thread Index | Old Index