From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA92B1382C5 for ; Tue, 19 Jan 2021 23:07:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 004F4E0829; Tue, 19 Jan 2021 23:07:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D661CE0829 for ; Tue, 19 Jan 2021 23:07:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A9C7341004 for ; Tue, 19 Jan 2021 23:07:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA43846B for ; Tue, 19 Jan 2021 23:07:10 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1611097390.e4838ac91243db3cc2fc510d7fbab6fe368e6278.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/gzdoom/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/gzdoom/gzdoom-4.5.0.ebuild X-VCS-Directories: games-fps/gzdoom/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: e4838ac91243db3cc2fc510d7fbab6fe368e6278 X-VCS-Branch: master Date: Tue, 19 Jan 2021 23:07:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 25930d44-4534-48a2-a3ee-b8c6f33a6c5d X-Archives-Hash: 94a765a2c03380c9dadbc3cb3de5ef3c commit: e4838ac91243db3cc2fc510d7fbab6fe368e6278 Author: TheGreatMcPain gmail com> AuthorDate: Tue Jan 19 22:38:54 2021 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Jan 19 23:03:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4838ac9 games-fps/gzdoom: Add '-DNDEBUG' to CXXFLAGS Allows certain mods, like Project Brutality's git master, to work. See: https://github.com/coelckers/gzdoom/issues/1279 I've also added a 'debug' useflag that skips 'append-cppflags -DNDEBUG' just incase. Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: James McClain gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19121 Signed-off-by: James Le Cuirot gentoo.org> games-fps/gzdoom/gzdoom-4.5.0.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/games-fps/gzdoom/gzdoom-4.5.0.ebuild b/games-fps/gzdoom/gzdoom-4.5.0.ebuild index bf1ddc570ec..60680a131e1 100644 --- a/games-fps/gzdoom/gzdoom-4.5.0.ebuild +++ b/games-fps/gzdoom/gzdoom-4.5.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake desktop xdg +inherit cmake desktop xdg flag-o-matic DESCRIPTION="A modder-friendly OpenGL source port based on the DOOM engine" HOMEPAGE="https://zdoom.org" @@ -14,7 +14,7 @@ LICENSE="Apache-2.0 BSD BZIP2 GPL-3 LGPL-2.1+ LGPL-3 MIT non-free? ( Activision ChexQuest3 DOOM-COLLECTORS-EDITION freedist WidePix )" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="gtk gtk2 +non-free openmp" +IUSE="debug gtk gtk2 +non-free openmp" DEPEND=" app-arch/bzip2 @@ -58,6 +58,9 @@ src_configure() { -DNO_OPENMP="$(usex !openmp)" -DBUILD_NONFREE="$(usex non-free)" ) + + use debug || append-cppflags -DNDEBUG + cmake_src_configure }