Skip to content

Commit

Permalink
app-text/binfind: fix configure with upcoming clang16
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ionenwks committed Oct 5, 2022
1 parent 4ca1567 commit 788f969
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
17 changes: 14 additions & 3 deletions app-text/binfind/binfind-0.0.3.ebuild
Original file line number Diff line number Diff line change
@@ -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/"
Expand All @@ -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
}
9 changes: 9 additions & 0 deletions app-text/binfind/files/binfind-0.0.3-clang16.patch
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 788f969

Please sign in to comment.