public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libstroke/files/, dev-libs/libstroke/
@ 2022-10-07  6:33 Ionen Wolkens
  0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2022-10-07  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     f95a5748fe369f8c20d9e7d606c9d4f8650f2c59
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 06:05:57 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 06:33:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95a5748

dev-libs/libstroke: fix build with upcoming clang16

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

 dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch             | 7 +++++++
 .../{libstroke-0.5.1-r1.ebuild => libstroke-0.5.1-r2.ebuild}       | 1 +
 2 files changed, 8 insertions(+)

diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch b/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch
new file mode 100644
index 000000000000..de903c63142c
--- /dev/null
+++ b/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/871054
+--- a/libstroke/stroke.c
++++ b/libstroke/stroke.c
+@@ -13,2 +13,3 @@
+ #include <stdio.h>
++#include <string.h>
+ #include <math.h>

diff --git a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild b/dev-libs/libstroke/libstroke-0.5.1-r2.ebuild
similarity index 95%
rename from dev-libs/libstroke/libstroke-0.5.1-r1.ebuild
rename to dev-libs/libstroke/libstroke-0.5.1-r2.ebuild
index a353a532aef7..884a05341d0b 100644
--- a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild
+++ b/dev-libs/libstroke/libstroke-0.5.1-r2.ebuild
@@ -22,6 +22,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-m4_syntax.patch
 	"${FILESDIR}"/${P}-no_gtk1.patch
 	"${FILESDIR}"/${P}-autotools.patch
+	"${FILESDIR}"/${P}-clang16.patch
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-07  6:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-07  6:33 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libstroke/files/, dev-libs/libstroke/ Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox