diff options
-rw-r--r-- | app-text/namazu/files/namazu-configure.patch | 13 | ||||
-rw-r--r-- | app-text/namazu/namazu-2.0.21.ebuild | 1 | ||||
-rw-r--r-- | app-text/namazu/namazu-2.0.22_pre8.ebuild | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/app-text/namazu/files/namazu-configure.patch b/app-text/namazu/files/namazu-configure.patch new file mode 100644 index 000000000000..02b6fcde8dc6 --- /dev/null +++ b/app-text/namazu/files/namazu-configure.patch @@ -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; diff --git a/app-text/namazu/namazu-2.0.21.ebuild b/app-text/namazu/namazu-2.0.21.ebuild index be73f786452f..1bb859ef8de6 100644 --- a/app-text/namazu/namazu-2.0.21.ebuild +++ b/app-text/namazu/namazu-2.0.21.ebuild @@ -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 diff --git a/app-text/namazu/namazu-2.0.22_pre8.ebuild b/app-text/namazu/namazu-2.0.22_pre8.ebuild index 6dab831697ff..55d8fa5444e9 100644 --- a/app-text/namazu/namazu-2.0.22_pre8.ebuild +++ b/app-text/namazu/namazu-2.0.22_pre8.ebuild @@ -38,6 +38,7 @@ S="${WORKDIR}"/${MY_P} PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-configure.patch "${FILESDIR}"/${PN}-underlinking.patch ) |