summaryrefslogtreecommitdiff
path: root/package/x11r7/xapp_xrandr
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11r7/xapp_xrandr')
-rw-r--r--package/x11r7/xapp_xrandr/xapp_xrandr-1.2.2-clone-redef.patch29
-rw-r--r--package/x11r7/xapp_xrandr/xapp_xrandr.mk4
2 files changed, 31 insertions, 2 deletions
diff --git a/package/x11r7/xapp_xrandr/xapp_xrandr-1.2.2-clone-redef.patch b/package/x11r7/xapp_xrandr/xapp_xrandr-1.2.2-clone-redef.patch
new file mode 100644
index 000000000..6dc353466
--- /dev/null
+++ b/package/x11r7/xapp_xrandr/xapp_xrandr-1.2.2-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;
+ }
diff --git a/package/x11r7/xapp_xrandr/xapp_xrandr.mk b/package/x11r7/xapp_xrandr/xapp_xrandr.mk
index e7ef6f995..3594e59b4 100644
--- a/package/x11r7/xapp_xrandr/xapp_xrandr.mk
+++ b/package/x11r7/xapp_xrandr/xapp_xrandr.mk
@@ -4,10 +4,10 @@
#
################################################################################
-XAPP_XRANDR_VERSION = 1.0.2
+XAPP_XRANDR_VERSION = 1.2.2
XAPP_XRANDR_SOURCE = xrandr-$(XAPP_XRANDR_VERSION).tar.bz2
XAPP_XRANDR_SITE = http://xorg.freedesktop.org/releases/individual/app
-XAPP_XRANDR_AUTORECONF = YES
+XAPP_XRANDR_AUTORECONF = NO
XAPP_XRANDR_DEPENDENCIES = xlib_libXrandr xlib_libX11
XAPP_XRANDR_CONF_OPT = --disable-malloc0returnsnull