mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 22:54:10 +02:00
* Fix build with GCC 15 * Fix LTO safety * Fix C99 issue in configure Closes: https://bugs.gentoo.org/899868 Closes: https://bugs.gentoo.org/927103 Closes: https://bugs.gentoo.org/936562 Signed-off-by: Sam James <sam@gentoo.org>
13 lines
682 B
Diff
13 lines
682 B
Diff
https://sourceforge.net/p/mjpeg/bugs/144/
|
|
https://bugs.gentoo.org/899868
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -236,7 +236,7 @@ dnl Check to see if __progname is provided by the system
|
|
dnl ********************************************************************
|
|
AC_CACHE_CHECK([for __progname],
|
|
[mjt_cv_extern___progname],
|
|
- [AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
|
|
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]],
|
|
[[extern char *__progname;
|
|
puts(__progname);]])],
|
|
[mjt_cv_extern___progname=yes],
|