public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/binfind/files/, app-text/binfind/
@ 2022-10-05 23:01 Ionen Wolkens
  0 siblings, 0 replies; only message in thread
From: Ionen Wolkens @ 2022-10-05 23:01 UTC (permalink / raw
  To: gentoo-commits

commit:     788f969a0b47ea7ceb6cdbfec513126adb70243e
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 21:54:21 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 23:00:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788f969a

app-text/binfind: fix configure with upcoming clang16

eautoreconf should not be needed per-se for clang16 but custom
test in configure.in missed an header, so let's regen.

Closes: https://bugs.gentoo.org/870832
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-text/binfind/binfind-0.0.3.ebuild              | 17 ++++++++++++++---
 app-text/binfind/files/binfind-0.0.3-clang16.patch |  9 +++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/app-text/binfind/binfind-0.0.3.ebuild b/app-text/binfind/binfind-0.0.3.ebuild
index 98b9511f6370..fce82cc6b67d 100644
--- a/app-text/binfind/binfind-0.0.3.ebuild
+++ b/app-text/binfind/binfind-0.0.3.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+inherit autotools
 
 DESCRIPTION="Search files for a byte sequence specified on the command line"
 HOMEPAGE="https://www.lith.at/binfind/"
@@ -10,4 +12,13 @@ SRC_URI="https://www.lith.at/binfind/${P}.tar.gz"
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
-IUSE=""
+
+PATCHES=(
+	"${FILESDIR}"/${P}-clang16.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf #870832
+}

diff --git a/app-text/binfind/files/binfind-0.0.3-clang16.patch b/app-text/binfind/files/binfind-0.0.3-clang16.patch
new file mode 100644
index 000000000000..12a7174ec0e9
--- /dev/null
+++ b/app-text/binfind/files/binfind-0.0.3-clang16.patch
@@ -0,0 +1,9 @@
+https://bugs.gentoo.org/870832
+--- a/configure.in
++++ b/configure.in
+@@ -26,4 +26,5 @@
+ 		[#include <stdio.h>
+ 		 #include <stdlib.h>
++		 #include <string.h>
+ 
+ 		int main(void)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-05 23:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-05 23:01 [gentoo-commits] repo/gentoo:master commit in: app-text/binfind/files/, app-text/binfind/ Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox