commit: ad66f76c38a5de8a58e79496d5145d466a4827d6 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Dec 5 06:29:33 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Dec 5 06:39:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad66f76c
media-libs/gavl: fix modern c issue in configure Closes: https://bugs.gentoo.org/879699 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/gavl/files/1.4.0-c99.patch | 12 ++++++++++++ .../gavl/{gavl-1.4.0-r2.ebuild => gavl-1.4.0-r3.ebuild} | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/media-libs/gavl/files/1.4.0-c99.patch b/media-libs/gavl/files/1.4.0-c99.patch new file mode 100644 index 000000000000..957b3ff5b4f6 --- /dev/null +++ b/media-libs/gavl/files/1.4.0-c99.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/879699 +--- a/configure.ac ++++ b/configure.ac +@@ -156,7 +156,7 @@ AC_MSG_CHECKING(for CLOCK_MONOTONIC) + AC_TRY_RUN([ + #include <time.h> + #include <errno.h> +-main() ++int main() + { + struct timespec tp; + if(clock_gettime(CLOCK_MONOTONIC, &tp)) diff --git a/media-libs/gavl/gavl-1.4.0-r2.ebuild b/media-libs/gavl/gavl-1.4.0-r3.ebuild similarity index 95% rename from media-libs/gavl/gavl-1.4.0-r2.ebuild rename to media-libs/gavl/gavl-1.4.0-r3.ebuild index 1db85a052458..5eabe21fe3e4 100644 --- a/media-libs/gavl/gavl-1.4.0-r2.ebuild +++ b/media-libs/gavl/gavl-1.4.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,6 +19,7 @@ BDEPEND="doc? ( app-doc/doxygen )" PATCHES=( "${FILESDIR}/${PV}-x32.patch" "${FILESDIR}/${PV}-gnu_source.patch" + "${FILESDIR}/${PV}-c99.patch" ) src_prepare() {
