+--- mplayer-r32923/configure.orig 2011-06-28 21:37:44.000000000 +0200
++++ mplayer-r32923/configure 2011-06-28 21:39:56.738031684 +0200
+@@ -7869,7 +7869,7 @@
+ return exitvar;
+ }
+ EOF
+- cc_check -lXext && _xshape=yes
++ cc_check -lXext -lX11 && _xshape=yes
+ fi
+ if test "$_xshape" = yes ; then
+ def_xshape='#define CONFIG_XSHAPE 1'
+