summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-video/mplayer/files/mplayer-dpms.patch13
-rw-r--r--media-video/mplayer/files/mplayer-xshape.patch12
2 files changed, 25 insertions, 0 deletions
diff --git a/media-video/mplayer/files/mplayer-dpms.patch b/media-video/mplayer/files/mplayer-dpms.patch
new file mode 100644
index 0000000..23f3010
--- /dev/null
+++ b/media-video/mplayer/files/mplayer-dpms.patch
@@ -0,0 +1,13 @@
+diff -ur mplayer-20070622.orig/configure mplayer-20070622/configure
+--- mplayer-20070622.orig/configure 2007-06-21 22:01:29.000000000 +0300
++++ mplayer-20070622/configure 2007-08-12 20:54:51.000000000 +0300
+@@ -3923,7 +3923,7 @@
+ (void) DPMSQueryExtension(0, 0, 0);
+ }
+ EOF
+- cc_check && _xdpms4=yes
++ cc_check -lXext && _xdpms4=yes
+ fi
+ if test "$_xdpms4" = yes ; then
+ _def_xdpms='#define HAVE_XDPMS 1'
+Only in mplayer-20070622.orig: mplayer-20070622
diff --git a/media-video/mplayer/files/mplayer-xshape.patch b/media-video/mplayer/files/mplayer-xshape.patch
new file mode 100644
index 0000000..1436ccd
--- /dev/null
+++ b/media-video/mplayer/files/mplayer-xshape.patch
@@ -0,0 +1,12 @@
+--- configure.orig 2006-12-14 09:47:52.000000000 -0500
++++ configure 2006-12-14 09:48:12.000000000 -0500
+@@ -7011,7 +7011,7 @@
+ return exitvar;
+ }
+ EOF
+- cc_check && _xshape=yes
++ cc_check "-lXext" && _xshape=yes
+ fi
+ if test "$_xshape" = yes ; then
+ _def_xshape='#define HAVE_XSHAPE 1'
+