[MPlayer-users] MPlayer Required GCC Version

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu May 16 07:59:31 EEST 2019


On Wed, May 15, 2019 at 06:58:48PM -0400, Kevan Hashemi wrote:
> Dear Alexander,
>
> Thank you sir.
>
> > Are you running into
> >
> >    https://trac.mplayerhq.hu/ticket/2312
>
> Yes, that's it. I applied the work-around, and now GCC finds stdatomic.h. The build proceeds until I get another error, missing "zlib.h". I'll look into that.

We don't test that much. It's better to have it anyway, but otherwise
the list of what needs to be disabled with zlib needs updating.
For the stdatomic, does the below patch work?

--- a/configure
+++ b/configure
@@ -3863,6 +3863,14 @@ header_check sys/poll.h && poll_h=yes &&
   def_poll_h='#define HAVE_POLL_H 1'
 echores "$poll_h"

+echocheck "stdatomic.h"
+stdatomic_h=no
+header_check stdatomic.h && stdatomic_h=yes
+echores "$stdatomic_h"
+
+if test "$stdatomic_h" = no ; then
+  CFLAGS="-Icompat/atomics/gcc $CFLAGS"
+fi

 echocheck "inttypes.h (required)"
 _inttypes=no



More information about the MPlayer-users mailing list