diff options
author | Sam James <sam@gentoo.org> | 2023-03-04 07:30:46 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-04 07:39:07 +0000 |
commit | 3d8072dc9f2702733f4b679ae82ac6989059dd8e (patch) | |
tree | 3cacd6452f4c09438fdb14521421741c8da6fe23 /sys-apps/plocate | |
parent | sys-apps/memtester: Stabilize 4.6.0 ppc, #899370 (diff) | |
download | gentoo-3d8072dc9f2702733f4b679ae82ac6989059dd8e.tar.gz gentoo-3d8072dc9f2702733f4b679ae82ac6989059dd8e.tar.bz2 gentoo-3d8072dc9f2702733f4b679ae82ac6989059dd8e.zip |
sys-apps/plocate: fix build w/o io-uring
Closes: https://bugs.gentoo.org/899550
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/plocate')
-rw-r--r-- | sys-apps/plocate/files/plocate-1.1.18-missing-include.patch | 21 | ||||
-rw-r--r-- | sys-apps/plocate/plocate-1.1.18.ebuild | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/plocate/files/plocate-1.1.18-missing-include.patch b/sys-apps/plocate/files/plocate-1.1.18-missing-include.patch new file mode 100644 index 000000000000..d5a5043a0858 --- /dev/null +++ b/sys-apps/plocate/files/plocate-1.1.18-missing-include.patch @@ -0,0 +1,21 @@ +https://git.sesse.net/?p=plocate;a=commitdiff;h=a81eb2f2369de18d2376e266b36d2f32fff7600f +https://bugs.gentoo.org/899550 + +From a81eb2f2369de18d2376e266b36d2f32fff7600f Mon Sep 17 00:00:00 2001 +From: "Steinar H. Gunderson" <steinar+git@gunderson.no> +Date: Wed, 8 Feb 2023 22:46:51 +0100 +Subject: [PATCH] Add missing <inttypes.h> #include. + +Reported by sudhanshu goswami. +--- a/updatedb.cpp ++++ b/updatedb.cpp +@@ -39,6 +39,7 @@ any later version. + #include <fcntl.h> + #include <getopt.h> + #include <grp.h> ++#include <inttypes.h> + #include <iosfwd> + #include <math.h> + #include <memory> +-- +2.39.2 diff --git a/sys-apps/plocate/plocate-1.1.18.ebuild b/sys-apps/plocate/plocate-1.1.18.ebuild index d232fce2fe29..c6638fd4ed19 100644 --- a/sys-apps/plocate/plocate-1.1.18.ebuild +++ b/sys-apps/plocate/plocate-1.1.18.ebuild @@ -26,6 +26,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-1.1.15-meson-use-feature-option-for-libiouring.patch + "${FILESDIR}"/${P}-missing-include.patch ) pkg_setup() { |