From e28097d5c56a37902f19d90fe376851d5046d611 Mon Sep 17 00:00:00 2001 From: Brahmajit Das Date: Thu, 26 Oct 2023 17:35:41 +0000 Subject: sci-chemistry/easychem: Fix build with clang 16 Closes: https://bugs.gentoo.org/886085 Signed-off-by: Brahmajit Das Closes: https://github.com/gentoo/gentoo/pull/33525 Signed-off-by: Andrew Ammerlaan --- sci-chemistry/easychem/easychem-0.6-r1.ebuild | 5 ++++- sci-chemistry/easychem/files/easychem-0.6-clang16-fix.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 sci-chemistry/easychem/files/easychem-0.6-clang16-fix.patch (limited to 'sci-chemistry') diff --git a/sci-chemistry/easychem/easychem-0.6-r1.ebuild b/sci-chemistry/easychem/easychem-0.6-r1.ebuild index 75b0372117e5..eb2e161f20f4 100644 --- a/sci-chemistry/easychem/easychem-0.6-r1.ebuild +++ b/sci-chemistry/easychem/easychem-0.6-r1.ebuild @@ -24,7 +24,10 @@ BDEPEND=" virtual/pkgconfig " -PATCHES=( "${FILESDIR}"/${PV}-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${PV}-gentoo.patch + "${FILESDIR}"/${PN}-0.6-clang16-fix.patch +) src_prepare() { default diff --git a/sci-chemistry/easychem/files/easychem-0.6-clang16-fix.patch b/sci-chemistry/easychem/files/easychem-0.6-clang16-fix.patch new file mode 100644 index 000000000000..a8a82f64de24 --- /dev/null +++ b/sci-chemistry/easychem/files/easychem-0.6-clang16-fix.patch @@ -0,0 +1,11 @@ +Bug: https://bugs.gentoo.org/886085 +--- a/easychem.c ++++ b/easychem.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- cgit v1.2.3-65-gdbad