Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C1C1584D2D for ; Mon, 10 Jul 2023 07:24:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id fGQg2PF6P2J6 for ; Mon, 10 Jul 2023 07:24:23 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 186AE84CCA for ; Mon, 10 Jul 2023 07:24:23 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 11C83FBDB; Mon, 10 Jul 2023 07:24:23 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1688973863207800" MIME-Version: 1.0 Date: Mon, 10 Jul 2023 07:24:23 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/graphics/MesaDemos To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20230710072423.11C83FBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1688973863207800 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Mon Jul 10 07:24:23 UTC 2023 Modified Files: pkgsrc/graphics/MesaDemos: Makefile Log Message: MesaDemos: Fix building with compilers that default to C++98. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 pkgsrc/graphics/MesaDemos/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1688973863207800 Content-Disposition: inline Content-Length: 1187 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/MesaDemos/Makefile diff -u pkgsrc/graphics/MesaDemos/Makefile:1.52 pkgsrc/graphics/MesaDemos/Makefile:1.53 --- pkgsrc/graphics/MesaDemos/Makefile:1.52 Sun Jan 29 21:16:26 2023 +++ pkgsrc/graphics/MesaDemos/Makefile Mon Jul 10 07:24:22 2023 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.52 2023/01/29 21:16:26 ryoon Exp $ +# $NetBSD: Makefile,v 1.53 2023/07/10 07:24:22 nia Exp $ DISTNAME= mesa-demos-8.4.0 PKGNAME= ${DISTNAME:S/mesa-demos/MesaDemos/} -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= graphics MASTER_SITES= https://mesa.freedesktop.org/archive/demos/ EXTRACT_SUFX= .tar.bz2 @@ -15,7 +15,16 @@ LICENSE= mit GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config -USE_LANGUAGES= c c++ + +# GLEW's headers use , which requires -std=c++11 with +# older versions of GCC. +# +# It's probably quite unsafe to mandate C++11 through GLEW's +# buildlink3 file (in case a dependent package actually requires +# a more recent version), so this remains here as a hack. +# +# mesa-demos is not explicitly using -std=c++XX anyway (it should be). +USE_LANGUAGES= c c++11 SUBST_CLASSES+= bitmap SUBST_STAGE.bitmap= pre-configure --_----------=_1688973863207800--