gentoo/app-misc/regex-markup/files/regex-markup-0.10.0-c99.patch
Sam James 32ae3fc56a
app-misc/regex-markup: fix modern C issue in configure
Closes: https://bugs.gentoo.org/923618
Signed-off-by: Sam James <sam@gentoo.org>
2024-09-18 06:59:59 +01:00

12 lines
270 B
Diff

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 <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <regex.h>
int