aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/qt-3/xrandr.patch
blob: 0389c7fdd068e0ee92eeaccdba51d60aea27abe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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