summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Hoffstätte <holger@applied-asynchrony.com>2022-10-04 20:23:02 +0200
committerSam James <sam@gentoo.org>2022-10-05 12:52:27 +0100
commitaf2d84512555aefc291b07f834ac6c235e3339d8 (patch)
tree6b32735666aeb57c269070b782dc3a889b1fac60 /sys-fs/xfsprogs
parentnet-analyzer/netcat: fix for -Werror=implicit-int (diff)
downloadgentoo-af2d84512555aefc291b07f834ac6c235e3339d8.tar.gz
gentoo-af2d84512555aefc291b07f834ac6c235e3339d8.tar.bz2
gentoo-af2d84512555aefc291b07f834ac6c235e3339d8.zip
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@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/27624 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/xfsprogs')
-rw-r--r--sys-fs/xfsprogs/files/xfsprogs-5.18.0-include.patch15
-rw-r--r--sys-fs/xfsprogs/xfsprogs-5.18.0-r1.ebuild (renamed from sys-fs/xfsprogs/xfsprogs-5.18.0.ebuild)1
2 files changed, 16 insertions, 0 deletions
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/865733c7-8314-cd13-f363-5ba2c6842372@applied-asynchrony.com/
+Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
+
+--- 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
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() {