diff --git a/app-misc/regex-markup/files/regex-markup-0.10.0-c99.patch b/app-misc/regex-markup/files/regex-markup-0.10.0-c99.patch new file mode 100644 index 0000000000000..4988b57e9d752 --- /dev/null +++ b/app-misc/regex-markup/files/regex-markup-0.10.0-c99.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/923618 +--- a/m4/regex.m4 ++++ b/m4/regex.m4 +@@ -34,6 +34,7 @@ AC_DEFUN([gl_INCLUDED_REGEX], + jm_cv_func_working_re_compile_pattern, + AC_TRY_RUN( + [#include ++#include + #include + #include + int diff --git a/app-misc/regex-markup/regex-markup-0.10.0-r2.ebuild b/app-misc/regex-markup/regex-markup-0.10.0-r3.ebuild similarity index 91% rename from app-misc/regex-markup/regex-markup-0.10.0-r2.ebuild rename to app-misc/regex-markup/regex-markup-0.10.0-r3.ebuild index cee94b1f3d2f3..e31d3e2708db1 100644 --- a/app-misc/regex-markup/regex-markup-0.10.0-r2.ebuild +++ b/app-misc/regex-markup/regex-markup-0.10.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,6 +17,7 @@ IUSE="examples nls" PATCHES=( "${FILESDIR}"/${P}-locale.patch "${FILESDIR}"/${PN}-0.10.0-r2-configure.patch + "${FILESDIR}"/${PN}-0.10.0-c99.patch ) src_prepare() {