From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/gzdoom/
Date: Tue, 19 Jan 2021 23:07:10 +0000 (UTC) [thread overview]
Message-ID: <1611097390.e4838ac91243db3cc2fc510d7fbab6fe368e6278.chewi@gentoo> (raw)
commit: e4838ac91243db3cc2fc510d7fbab6fe368e6278
Author: TheGreatMcPain <sixsupersonic <AT> gmail <DOT> com>
AuthorDate: Tue Jan 19 22:38:54 2021 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> 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 <sixsupersonic <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19121
Signed-off-by: James Le Cuirot <chewi <AT> 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
}
next reply other threads:[~2021-01-19 23:07 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 23:07 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-01 21:40 [gentoo-commits] repo/gentoo:master commit in: games-fps/gzdoom/ James Le Cuirot
2024-05-01 21:40 James Le Cuirot
2024-03-02 14:14 James Le Cuirot
2023-12-19 5:19 Sam James
2023-05-23 2:52 Sam James
2022-12-08 22:03 James Le Cuirot
2022-12-08 22:03 James Le Cuirot
2022-09-19 6:42 Michał Górny
2022-08-04 7:12 Joonas Niilola
2021-10-23 7:39 James Le Cuirot
2021-10-09 22:20 James Le Cuirot
2021-10-09 22:20 James Le Cuirot
2021-07-26 22:49 James Le Cuirot
2021-07-26 22:49 James Le Cuirot
2021-05-22 23:05 James Le Cuirot
2021-02-08 6:49 Andreas Sturmlechner
2020-09-05 23:44 Sam James
2020-01-25 14:19 James Le Cuirot
2020-01-25 14:19 James Le Cuirot
2020-01-07 23:15 James Le Cuirot
2019-11-07 21:28 James Le Cuirot
2019-11-07 21:28 James Le Cuirot
2019-09-15 9:13 Mikle Kolyada
2019-06-18 20:59 James Le Cuirot
2019-06-10 19:51 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1611097390.e4838ac91243db3cc2fc510d7fbab6fe368e6278.chewi@gentoo \
--to=chewi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox