File gstreamer-plugins-bad-real.patch of Package gstreamer-plugins-bad.3891

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -297,7 +297,7 @@ AG_GST_CHECK_PLUGIN(xdgmime)
 dnl *** plug-ins to exclude ***
 
 dnl real plugin only works on i386 and x86_64 for the time being.
-if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
+if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes" && test "$HAVE_CPU_PPC" != yes; then
   AC_MSG_WARN([Not building real plugin, only works on 32bit and 64bit x86 platforms])
   AG_GST_DISABLE_PLUGIN(real)
 fi
Index: gst/real/gstreal.h
===================================================================
--- gst/real/gstreal.h.orig
+++ gst/real/gstreal.h
@@ -31,5 +31,9 @@
   "/usr/lib64/win32:/usr/lib64/codecs:" \
   "/usr/local/lib64/win32:/usr/local/lib64/codecs"
 #endif
+#ifdef HAVE_CPU_PPC
+#define DEFAULT_REAL_CODECS_PATH \
+  "/usr/lib/codecs:/usr/lib/RealPlayer10/codecs:/usr/local/lib/codecs"
+#endif
 
 #endif /* __GST_REAL_H__ */