summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-05-30 10:56:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-05-30 10:56:04 +0000
commit9e39fcbe9bac90166d59343034949854c7a11c7d (patch)
tree5eb766ec3f469ec419fd7bf6ddc8ae81e239f12c
parent0535783ac5c2439e33959ee3598f99ba8805053e (diff)
parentd5cb13e05fa3b50b352e6d05386bb5db711b6808 (diff)
merge of '202111bb61d911d344b28edb3efaa90dd7b5839c'
and '74ef5538952e598d19b9a5948bf53799aba14426'
-rw-r--r--packages/xorg-app/xrandr/.mtn2git_empty0
-rw-r--r--packages/xorg-app/xrandr/resolve_symbol_clash.patch35
-rw-r--r--packages/xorg-app/xrandr_1.2.0.bb2
3 files changed, 37 insertions, 0 deletions
diff --git a/packages/xorg-app/xrandr/.mtn2git_empty b/packages/xorg-app/xrandr/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xorg-app/xrandr/.mtn2git_empty
diff --git a/packages/xorg-app/xrandr/resolve_symbol_clash.patch b/packages/xorg-app/xrandr/resolve_symbol_clash.patch
new file mode 100644
index 0000000000..80d8960c94
--- /dev/null
+++ b/packages/xorg-app/xrandr/resolve_symbol_clash.patch
@@ -0,0 +1,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;
+ }
diff --git a/packages/xorg-app/xrandr_1.2.0.bb b/packages/xorg-app/xrandr_1.2.0.bb
index 57bd51fd65..f876ba6b47 100644
--- a/packages/xorg-app/xrandr_1.2.0.bb
+++ b/packages/xorg-app/xrandr_1.2.0.bb
@@ -5,4 +5,6 @@ LICENSE= "BSD-X"
DEPENDS += " libxrandr libxrender virtual/libx11"
PE = "1"
+PR = "r1"
+SRC_URI += "file://resolve_symbol_clash.patch;patch=1" \ No newline at end of file