summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hardened/xorg/x11-base/xorg-server/files/1.2.0-server-randr-version.patch')
-rw-r--r--hardened/xorg/x11-base/xorg-server/files/1.2.0-server-randr-version.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/hardened/xorg/x11-base/xorg-server/files/1.2.0-server-randr-version.patch b/hardened/xorg/x11-base/xorg-server/files/1.2.0-server-randr-version.patch
new file mode 100644
index 0000000..05432b6
--- /dev/null
+++ b/hardened/xorg/x11-base/xorg-server/files/1.2.0-server-randr-version.patch
@@ -0,0 +1,13 @@
+--- randr/randr.c.old 2007-02-19 14:01:55.000000000 -0700
++++ randr/randr.c 2007-02-19 14:02:12.000000000 -0700
+@@ -472,8 +472,8 @@
+ rep.type = X_Reply;
+ rep.length = 0;
+ rep.sequenceNumber = client->sequence;
+- rep.majorVersion = RANDR_MAJOR;
+- rep.minorVersion = RANDR_MINOR;
++ rep.majorVersion = 1;
++ rep.minorVersion = 1;
+ if (client->swapped) {
+ swaps(&rep.sequenceNumber, n);
+ swapl(&rep.length, n);