summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-09-18 06:38:35 +0100
committerSam James <sam@gentoo.org>2024-09-18 06:59:59 +0100
commit32ae3fc56ade04110f1cd082748bb2ef95f29694 (patch)
tree9370ad4981777c2d97022e125a660c5bb9671ece /app-misc
parentwww-client/firefox-bin: add 130.0.1 (diff)
downloadgentoo-32ae3fc56ade04110f1cd082748bb2ef95f29694.tar.gz
gentoo-32ae3fc56ade04110f1cd082748bb2ef95f29694.tar.bz2
gentoo-32ae3fc56ade04110f1cd082748bb2ef95f29694.zip
app-misc/regex-markup: fix modern C issue in configure
Closes: https://bugs.gentoo.org/923618 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/regex-markup/files/regex-markup-0.10.0-c99.patch11
-rw-r--r--app-misc/regex-markup/regex-markup-0.10.0-r3.ebuild (renamed from app-misc/regex-markup/regex-markup-0.10.0-r2.ebuild)3
2 files changed, 13 insertions, 1 deletions
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 000000000000..4988b57e9d75
--- /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 <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <regex.h>
+ 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
index cee94b1f3d2f..e31d3e2708db 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() {