summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xapp_xrandr/xapp_xrandr-1.2.3-clone-redef.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-14 14:59:14 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-14 14:59:14 +0000
commit59b0aa7a7ee327688a77dd5d01d0b2032f6535a2 (patch)
tree734ec30ae8cf8acb65d94e98001d8947d437db3f /package/x11r7/xapp_xrandr/xapp_xrandr-1.2.3-clone-redef.patch
parentbe245ad9c75863569add2d4b6a92922c3a680514 (diff)
downloadbuildroot-novena-59b0aa7a7ee327688a77dd5d01d0b2032f6535a2.tar.gz
buildroot-novena-59b0aa7a7ee327688a77dd5d01d0b2032f6535a2.zip
x11r7: update to 7.4
Patch by Dan Lykowski <lykowdk@gmail.com>, closes #181. Minor fixups for kdrive by me.
Diffstat (limited to 'package/x11r7/xapp_xrandr/xapp_xrandr-1.2.3-clone-redef.patch')
-rw-r--r--package/x11r7/xapp_xrandr/xapp_xrandr-1.2.3-clone-redef.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/x11r7/xapp_xrandr/xapp_xrandr-1.2.3-clone-redef.patch b/package/x11r7/xapp_xrandr/xapp_xrandr-1.2.3-clone-redef.patch
new file mode 100644
index 000000000..6dc353466
--- /dev/null
+++ b/package/x11r7/xapp_xrandr/xapp_xrandr-1.2.3-clone-redef.patch
@@ -0,0 +1,29 @@
+--- a/xrandr.c.orig 2008-02-02 17:09:45.000000000 -0500
++++ b/xrandr.c 2008-02-02 17:04:51.000000000 -0500
+@@ -189,7 +189,7 @@ reflection_name (Rotation rotation)
+
+ #if HAS_RANDR_1_2
+ typedef enum _policy {
+- clone, extend
++ clone1, extend
+ } policy_t;
+
+ typedef enum _relation {
+@@ -1602,7 +1602,7 @@ main (int argc, char **argv)
+ int ret = 0;
+ #if HAS_RANDR_1_2
+ output_t *output = NULL;
+- policy_t policy = clone;
++ policy_t policy = clone1;
+ Bool setit_1_2 = False;
+ Bool query_1_2 = False;
+ Bool modeit = False;
+@@ -1863,7 +1863,7 @@ main (int argc, char **argv)
+ continue;
+ }
+ if (!strcmp ("--clone", argv[i])) {
+- policy = clone;
++ policy = clone1;
+ setit_1_2 = True;
+ continue;
+ }