Re: MPlayer Required GCC Version

Reimar Döffinger <[email protected]>
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
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

_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.