summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/mythtv/files/mythtv-0.19_pre8554-xrandr.patch')
-rw-r--r--media-tv/mythtv/files/mythtv-0.19_pre8554-xrandr.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-0.19_pre8554-xrandr.patch b/media-tv/mythtv/files/mythtv-0.19_pre8554-xrandr.patch
new file mode 100644
index 000000000000..7e3dd087db6c
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.19_pre8554-xrandr.patch
@@ -0,0 +1,25 @@
+Index: configure
+===================================================================
+--- configure (revision 8554)
++++ configure (working copy)
+@@ -2844,6 +2844,7 @@
+
+ if test x"$xrandr" = x"yes" ; then
+ CCONFIG="$CCONFIG using_xrandr"
++ echo "CONFIG_XRANDR_LIBS=-lXrandr -lX11" >> $MYTH_CONFIG_MAK
+ fi
+
+ if test x"$xvmc" = x"yes" ; then
+Index: settings.pro
+===================================================================
+--- settings.pro (revision 8554)
++++ settings.pro (working copy)
+@@ -82,6 +82,7 @@
+
+ EXTRA_LIBS += $$LOCAL_LIBDIR_OGL
+ EXTRA_LIBS += $$LOCAL_LIBDIR_X11
++EXTRA_LIBS += $$CONFIG_XRANDR_LIBS
+ EXTRA_LIBS += $$CONFIG_XV_LIBS
+ EXTRA_LIBS += $$CONFIG_XVMC_LIBS
+ EXTRA_LIBS += $$CONFIG_OPENGL_VSYNC_LIBS
+