File gcompris-gstreamer-1.0.patch of Package gcompris

Index: gcompris-17.05/configure.ac
===================================================================
--- gcompris-17.05.orig/configure.ac
+++ gcompris-17.05/configure.ac
@@ -389,7 +389,7 @@ if test x$with_sdlmixer = xyes; then
   AUDIO_LIBS="$AUDIO_LIBS -lSDL_mixer"
 else
   dnl Default is gstreamer
-  PKG_CHECK_MODULES(AUDIO, gstreamer-0.10,, AC_MSG_ERROR([*** GSTREAMER not found!]))
+  PKG_CHECK_MODULES(AUDIO, gstreamer-1.0 gmodule-no-export-2.0,, AC_MSG_ERROR([*** GSTREAMER not found!]))
   AC_DEFINE([USE_GSTREAMER], 1,[gstreamer is enabled])
 fi
 AC_SUBST(AUDIO_CFLAGS)
Index: gcompris-17.05/src/gcompris/gstreamer.c
===================================================================
--- gcompris-17.05.orig/src/gcompris/gstreamer.c
+++ gcompris-17.05/src/gcompris/gstreamer.c
@@ -24,6 +24,7 @@
 
 #include "gcompris.h"
 #include <signal.h>
+#include <stdlib.h>
 #include <glib.h>
 #include <gst/gst.h>
 
openSUSE Build Service is sponsored by