aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xrandr/xrandr-1.3.0-clone-nameclash.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-10 13:00:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-10 13:00:41 +0000
commit7261b4adcb491c6161b602db8c793f718da8bbbc (patch)
tree0c618b741e5666ca464e593a83714ff471cfbc82 /x11/xrandr/xrandr-1.3.0-clone-nameclash.patch
parente1c4e11bfff7605b805984dcba250362c66fdaf0 (diff)
downloadaports-7261b4adcb491c6161b602db8c793f718da8bbbc.tar.bz2
aports-7261b4adcb491c6161b602db8c793f718da8bbbc.tar.xz
x11/xrandr: new aport
primitive command line interface to RandR extension
Diffstat (limited to 'x11/xrandr/xrandr-1.3.0-clone-nameclash.patch')
-rw-r--r--x11/xrandr/xrandr-1.3.0-clone-nameclash.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11/xrandr/xrandr-1.3.0-clone-nameclash.patch b/x11/xrandr/xrandr-1.3.0-clone-nameclash.patch
new file mode 100644
index 0000000000..55af5590c4
--- /dev/null
+++ b/x11/xrandr/xrandr-1.3.0-clone-nameclash.patch
@@ -0,0 +1,29 @@
+--- xrandr-1.3.0/xrandr.c.orig 2009-04-10 12:26:02.000000000 +0000
++++ xrandr-1.3.0/xrandr.c 2009-04-10 12:43:44.000000000 +0000
+@@ -209,7 +209,7 @@
+
+ #if HAS_RANDR_1_2
+ typedef enum _policy {
+- clone, extend
++ p_clone, extend
+ } policy_t;
+
+ typedef enum _relation {
+@@ -2027,7 +2027,7 @@
+ int ret = 0;
+ #if HAS_RANDR_1_2
+ output_t *output = NULL;
+- policy_t policy = clone;
++ policy_t policy = p_clone;
+ Bool setit_1_2 = False;
+ Bool query_1_2 = False;
+ Bool modeit = False;
+@@ -2401,7 +2401,7 @@
+ continue;
+ }
+ if (!strcmp ("--clone", argv[i])) {
+- policy = clone;
++ policy = p_clone;
+ setit_1_2 = True;
+ continue;
+ }