--- /dev/null
+--- gst-plugins-bad-0.10.1/ext/divx/gstdivxdec.h.orig 2005-12-19 15:40:22.000000000 +0100
++++ gst-plugins-bad-0.10.1/ext/divx/gstdivxdec.h 2006-02-25 01:04:28.560232500 +0100
+@@ -21,7 +21,7 @@
+ #define __GST_DIVXDEC_H__
+
+ #include <gst/gst.h>
+-#include <decore.h>
++#include <divx/decore.h>
+
+ #ifdef __cplusplus
+ extern "C" {
+--- gst-plugins-bad-0.10.1/ext/divx/gstdivxenc.c.orig 2005-12-19 15:40:22.000000000 +0100
++++ gst-plugins-bad-0.10.1/ext/divx/gstdivxenc.c 2006-02-25 01:04:46.369345500 +0100
+@@ -24,7 +24,7 @@
+ #include <string.h>
+ #include "gstdivxenc.h"
+ #include <gst/video/video.h>
+-#include <encore2.h>
++#include <divx/encore2.h>
+
+ /* elementfactory information */
+ GstElementDetails gst_divxenc_details = {
+--- gst-plugins-bad-0.10.1/configure.ac.orig 2006-02-25 00:57:12.156959000 +0100
++++ gst-plugins-bad-0.10.1/configure.ac 2006-02-25 01:03:56.306216750 +0100
+@@ -421,13 +421,13 @@
+ translit(dnm, m, l) AM_CONDITIONAL(USE_DIVX, true)
+ GST_CHECK_FEATURE(DIVX, [divx plugins], divx, [
+ HAVE_DIVX=yes
+- AC_CHECK_HEADER(encore2.h, ,
++ AC_CHECK_HEADER(divx/encore2.h, ,
+ [ AC_MSG_WARN([Divx4linux encore headers not found]) &&
+ HAVE_DIVX=no ] )
+ if [ test x$HAVE_DIVX = xyes ]; then
+ AC_MSG_CHECKING([Checking for valid divx4linux encore version])
+ AC_TRY_COMPILE([
+-#include <encore2.h>
++#include <divx/encore2.h>
+ #if ENCORE_VERSION != 20021024
+ #error Wrong version of divx encore libraries
+ #endif
+@@ -438,14 +438,14 @@
+ AC_MSG_WARN([Wrong version of divx4linux installed]) ])
+ fi
+ if [ test x$HAVE_DIVX = xyes ]; then
+- AC_CHECK_HEADER(decore.h, ,
++ AC_CHECK_HEADER(divx/decore.h, ,
+ [ AC_MSG_WARN([Divx4linux decoder headers not found]) &&
+ HAVE_DIVX=no ] )
+ fi
+ if [ test x$HAVE_DIVX = xyes ]; then
+ AC_MSG_CHECKING([Checking for valid divx4linux decore version])
+ AC_TRY_COMPILE([
+-#include <decore.h>
++#include <divx/decore.h>
+ #if DECORE_VERSION != 20021112
+ #error Wrong version of divx decore libraries
+ #endif