public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/9libs/files/, dev-libs/9libs/
Date: Sat,  8 Oct 2022 03:37:02 +0000 (UTC)	[thread overview]
Message-ID: <1665200131.d88dbbec34a49c24ebec86911849acaff963c0cb.ionen@gentoo> (raw)

commit:     d88dbbec34a49c24ebec86911849acaff963c0cb
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  8 03:32:06 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 03:35:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d88dbbec

dev-libs/9libs: fix build with upcoming clang16

Closes: https://bugs.gentoo.org/871183
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-libs/9libs/9libs-1.0-r5.ebuild           | 1 +
 dev-libs/9libs/files/9libs-1.0-clang16.patch | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/dev-libs/9libs/9libs-1.0-r5.ebuild b/dev-libs/9libs/9libs-1.0-r5.ebuild
index bb9f3d6f49c7..21a9175d21dd 100644
--- a/dev-libs/9libs/9libs-1.0-r5.ebuild
+++ b/dev-libs/9libs/9libs-1.0-r5.ebuild
@@ -23,6 +23,7 @@ DEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-va_list.patch # Bug 385387
+	"${FILESDIR}"/${P}-clang16.patch
 )
 
 src_prepare() {

diff --git a/dev-libs/9libs/files/9libs-1.0-clang16.patch b/dev-libs/9libs/files/9libs-1.0-clang16.patch
new file mode 100644
index 000000000000..237cfc0c70c9
--- /dev/null
+++ b/dev-libs/9libs/files/9libs-1.0-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/871183
+--- a/libXg/gcs.c
++++ b/libXg/gcs.c
+@@ -163,3 +163,3 @@
+ 	static GC gc0, gcn;
+-	static clipset = 0;
++	static int clipset = 0;
+ 	GC g;


                 reply	other threads:[~2022-10-08  3:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1665200131.d88dbbec34a49c24ebec86911849acaff963c0cb.ionen@gentoo \
    --to=ionen@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