public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/, sys-apps/plocate/files/
Date: Sat,  4 Mar 2023 07:39:23 +0000 (UTC)	[thread overview]
Message-ID: <1677915547.3d8072dc9f2702733f4b679ae82ac6989059dd8e.sam@gentoo> (raw)

commit:     3d8072dc9f2702733f4b679ae82ac6989059dd8e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 07:30:46 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 07:39:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8072dc

sys-apps/plocate: fix build w/o io-uring

Closes: https://bugs.gentoo.org/899550
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/plocate-1.1.18-missing-include.patch      | 21 +++++++++++++++++++++
 sys-apps/plocate/plocate-1.1.18.ebuild              |  1 +
 2 files changed, 22 insertions(+)

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() {


             reply	other threads:[~2023-03-04  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04  7:39 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-21 20:44 [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/, sys-apps/plocate/files/ Florian Schmaus
2022-02-02  6:56 Florian Schmaus
2021-08-19  2:24 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1677915547.3d8072dc9f2702733f4b679ae82ac6989059dd8e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox