3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/qt-3/xrandr.patch
Eelco Dolstra 8e5b302403 * Qt: enable OpenGL, Xrandr, Xinerama support.
* MythTV: add OpenGL stuff.

svn path=/nixpkgs/trunk/; revision=6520
2006-09-14 13:24:06 +00:00

43 lines
1.2 KiB
Diff

diff -rc qt-x11-free-3.3.6-orig/config.tests/x11/xrandr.test qt-x11-free-3.3.6/config.tests/x11/xrandr.test
*** qt-x11-free-3.3.6-orig/config.tests/x11/xrandr.test 2006-09-14 14:00:08.000000000 +0200
--- qt-x11-free-3.3.6/config.tests/x11/xrandr.test 2006-09-14 14:10:39.000000000 +0200
***************
*** 52,69 ****
INCDIRS="$IN_INCDIRS $XDIRS /FOO/include /include"
F=
for INCDIR in $INCDIRS; do
! if [ -f $INCDIR/$INC -a -f $INCDIR/$INC2 ]; then
F=yes
! XRANDR_H=$INCDIR/$INC
RANDR_H=$INCDIR/$INC2
! [ "$VERBOSE" = "yes" ] && echo " Found $INC in $INCDIR"
break
fi
done
if [ -z "$F" ]
then
XRANDR=no
! [ "$VERBOSE" = "yes" ] && echo " Could not find $INC anywhere in $INCDIRS"
fi
fi
--- 52,69 ----
INCDIRS="$IN_INCDIRS $XDIRS /FOO/include /include"
F=
for INCDIR in $INCDIRS; do
! if [ -f $INCDIR/$INC2 ]; then
F=yes
! # XRANDR_H=$INCDIR/$INC
RANDR_H=$INCDIR/$INC2
! [ "$VERBOSE" = "yes" ] && echo " Found $INC2 in $INCDIR"
break
fi
done
if [ -z "$F" ]
then
XRANDR=no
! [ "$VERBOSE" = "yes" ] && echo " Could not find $INC2 anywhere in $INCDIRS"
fi
fi