public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/clanlib/files/, dev-games/clanlib/
Date: Mon,  6 Feb 2023 22:19:53 +0000 (UTC)	[thread overview]
Message-ID: <1675721618.a27030c936e32a14b0652aaac02788b9e41a607a.sam@gentoo> (raw)

commit:     a27030c936e32a14b0652aaac02788b9e41a607a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  6 22:13:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 22:13:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27030c9

dev-games/clanlib: fix build w/ gcc 12

Closes: https://bugs.gentoo.org/877301
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-games/clanlib/clanlib-0.8.1-r2.ebuild         |  3 ++-
 dev-games/clanlib/files/clanlib-0.8.1-gcc12.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/dev-games/clanlib/clanlib-0.8.1-r2.ebuild b/dev-games/clanlib/clanlib-0.8.1-r2.ebuild
index 71d3a0c5b785..4235f050aabd 100644
--- a/dev-games/clanlib/clanlib-0.8.1-r2.ebuild
+++ b/dev-games/clanlib/clanlib-0.8.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -47,6 +47,7 @@ PATCHES=(
 	"${FILESDIR}/${P}-libpng15.patch"
 	"${FILESDIR}/${P}-docbuilder.patch"
 	"${FILESDIR}/${P}-glibc2.34.patch"
+	"${FILESDIR}/${P}-gcc12.patch"
 )
 
 DOCS=(

diff --git a/dev-games/clanlib/files/clanlib-0.8.1-gcc12.patch b/dev-games/clanlib/files/clanlib-0.8.1-gcc12.patch
new file mode 100644
index 000000000000..68ed616b3ca7
--- /dev/null
+++ b/dev-games/clanlib/files/clanlib-0.8.1-gcc12.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/877301
+--- a/Sources/API/Core/System/cl_assert.h
++++ b/Sources/API/Core/System/cl_assert.h
+@@ -33,6 +33,8 @@
+ #ifndef header_cl_assert
+ #define header_cl_assert
+ 
++#include <cstddef>
++
+ #ifdef CL_API_DLL
+ #ifdef CL_CORE_EXPORT
+ #define CL_API_CORE __declspec(dllexport)


             reply	other threads:[~2023-02-06 22:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06 22:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-28 22:47 [gentoo-commits] repo/gentoo:master commit in: dev-games/clanlib/files/, dev-games/clanlib/ Pacho Ramos
2022-08-17 11:54 Andreas Sturmlechner
2021-10-22  2:21 Ionen Wolkens
2021-02-25 10:27 Sam James
2021-02-25  6:36 Sam James
2021-02-25  6:36 Sam James
2021-01-11  7:38 Lars Wendler
2017-01-07 19:12 David Seifert

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=1675721618.a27030c936e32a14b0652aaac02788b9e41a607a.sam@gentoo \
    --to=sam@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