summaryrefslogtreecommitdiff
path: root/packages/xorg-app/xrandr/resolve_symbol_clash.patch
blob: 80d8960c94497b6b286a3d4ef11b37d45ea736a6 (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
---
 xrandr.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: xrandr-1.2.0/xrandr.c
===================================================================
--- xrandr-1.2.0.orig/xrandr.c	2007-02-19 05:26:50.000000000 +0000
+++ xrandr-1.2.0/xrandr.c	2007-05-28 19:22:30.000000000 +0100
@@ -163,7 +163,7 @@ reflection_name (Rotation rotation)
 
 #if HAS_RANDR_1_2
 typedef enum _policy {
-    clone, extend
+    policy_clone, extend
 } policy_t;
 
 typedef enum _relation {
@@ -1398,7 +1398,7 @@ main (int argc, char **argv)
 #if HAS_RANDR_1_2
     output_t	*output = NULL;
     char	*crtc;
-    policy_t	policy = clone;
+    policy_t	policy = policy_clone;
     Bool    	setit_1_2 = False;
     Bool    	query_1_2 = False;
     Bool	query_1 = False;
@@ -1634,7 +1634,7 @@ main (int argc, char **argv)
 	    continue;
 	}
 	if (!strcmp ("--clone", argv[i])) {
-	    policy = clone;
+	    policy = policy_clone;
 	    setit_1_2 = True;
 	    continue;
 	}