commit:     af2d84512555aefc291b07f834ac6c235e3339d8
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Tue Oct  4 18:23:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 11:52:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2d8451

sys-fs/xfsprogs: fix implicit declaration of function u_init/u_cleanup

Closes: https://bugs.gentoo.org/875050
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/27624
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/xfsprogs/files/xfsprogs-5.18.0-include.patch       | 15 +++++++++++++++
 .../{xfsprogs-5.18.0.ebuild => xfsprogs-5.18.0-r1.ebuild} |  1 +
 2 files changed, 16 insertions(+)

diff --git a/sys-fs/xfsprogs/files/xfsprogs-5.18.0-include.patch 
b/sys-fs/xfsprogs/files/xfsprogs-5.18.0-include.patch
new file mode 100644
index 000000000000..361aeb0b7d35
--- /dev/null
+++ b/sys-fs/xfsprogs/files/xfsprogs-5.18.0-include.patch
@@ -0,0 +1,15 @@
+
+Bug: https://bugs.gentoo.org/875050
+Upstream: 
https://lore.kernel.org/linux-xfs/[email protected]/
+Signed-off-by: Holger Hoffstätte <[email protected]> 
+
+--- xfsprogs-5.18.0/scrub/unicrash.c   2021-12-13 21:02:19.000000000 +0100
++++ xfsprogs-5.18.0-nowarn/scrub/unicrash.c    2022-10-04 19:46:28.869402900 
+0200
+@@ -10,6 +10,7 @@
+ #include <sys/types.h>
+ #include <sys/statvfs.h>
+ #include <strings.h>
++#include <unicode/uclean.h>
+ #include <unicode/ustring.h>
+ #include <unicode/unorm2.h>
+ #include <unicode/uspoof.h>

diff --git a/sys-fs/xfsprogs/xfsprogs-5.18.0.ebuild 
b/sys-fs/xfsprogs/xfsprogs-5.18.0-r1.ebuild
similarity index 98%
rename from sys-fs/xfsprogs/xfsprogs-5.18.0.ebuild
rename to sys-fs/xfsprogs/xfsprogs-5.18.0-r1.ebuild
index b9facc52f475..2f545bcf92b0 100644
--- a/sys-fs/xfsprogs/xfsprogs-5.18.0.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-5.18.0-r1.ebuild
@@ -26,6 +26,7 @@ RDEPEND+=" selinux? ( sec-policy/selinux-xfs )"
 PATCHES=(
        "${FILESDIR}"/${PN}-5.3.0-libdir.patch
        "${FILESDIR}"/${PN}-5.18.0-docdir.patch
+       "${FILESDIR}"/${PN}-5.18.0-include.patch
 )
 
 src_prepare() {

Reply via email to