diff options
Diffstat (limited to 'meta/packages/xorg-proto/calibrateproto/fix.patch')
-rw-r--r-- | meta/packages/xorg-proto/calibrateproto/fix.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/packages/xorg-proto/calibrateproto/fix.patch b/meta/packages/xorg-proto/calibrateproto/fix.patch new file mode 100644 index 0000000000..0c85cb0ccf --- /dev/null +++ b/meta/packages/xorg-proto/calibrateproto/fix.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | Add missing length fields to the replies. Without these, sanity checking in recent X | ||
2 | breaks things. | ||
3 | |||
4 | RP 11/2/10 | ||
5 | |||
6 | |||
7 | Index: git/xcalibrateproto.h | ||
8 | =================================================================== | ||
9 | --- git.orig/xcalibrateproto.h 2010-02-11 11:47:45.711985932 +0000 | ||
10 | +++ git/xcalibrateproto.h 2010-02-11 11:40:21.000000000 +0000 | ||
11 | @@ -67,13 +67,13 @@ | ||
12 | BYTE type; /* X_Reply */ | ||
13 | BYTE pad1; | ||
14 | CARD16 sequenceNumber B16; | ||
15 | + CARD32 length; | ||
16 | CARD32 status; | ||
17 | CARD32 pad2 B32; | ||
18 | CARD32 pad3 B32; | ||
19 | CARD32 pad4 B32; | ||
20 | CARD32 pad5 B32; | ||
21 | CARD32 pad6 B32; | ||
22 | - CARD32 pad7 B32; | ||
23 | } xXCalibrateRawModeReply; | ||
24 | |||
25 | #define sz_xXCalibrateRawModeReply 32 | ||
26 | @@ -92,13 +92,13 @@ | ||
27 | BYTE type; /* X_Reply */ | ||
28 | BYTE pad1; | ||
29 | CARD16 sequenceNumber B16; | ||
30 | + CARD32 length; | ||
31 | CARD32 x; | ||
32 | CARD32 y; | ||
33 | CARD32 pad2 B32; | ||
34 | CARD32 pad3 B32; | ||
35 | CARD32 pad4 B32; | ||
36 | CARD32 pad5 B32; | ||
37 | - CARD32 pad6 B32; | ||
38 | } xXCalibrateScreenToCoordReply; | ||
39 | |||
40 | #define sz_xXCalibrateScreenToCoordReply 32 | ||