app-text/namazu: fix configure

Closes: https://bugs.gentoo.org/900182
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
Akinori Hattori
2024-05-07 21:32:54 +09:00
parent 1f2448146a
commit e73f9de71b
3 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -165,7 +165,9 @@
[AC_TRY_RUN(
changequote(<<, >>)dnl
<<
-main()
+#include <stdlib.h>
+#include <string.h>
+int main(void)
{
/* Some versions of memcmp are not 8-bit clean. */
char c0 = 0x40, c1 = 0x80, c2 = 0x81;

View File

@@ -35,6 +35,7 @@ BDEPEND="nls? ( sys-devel/gettext )"
PATCHES=(
"${FILESDIR}"/${PN}-gentoo.patch
"${FILESDIR}"/${PN}-configure.patch
"${FILESDIR}"/${PN}-emacs-27.patch
"${FILESDIR}"/${PN}-perl-5.18.patch
"${FILESDIR}"/${PN}-perl-5.26.patch

View File

@@ -38,6 +38,7 @@ S="${WORKDIR}"/${MY_P}
PATCHES=(
"${FILESDIR}"/${PN}-gentoo.patch
"${FILESDIR}"/${PN}-configure.patch
"${FILESDIR}"/${PN}-underlinking.patch
)