summaryrefslogtreecommitdiff
path: root/packages/xorg-lib/diet-x11
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xorg-lib/diet-x11')
-rw-r--r--packages/xorg-lib/diet-x11/xchar2b.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/xorg-lib/diet-x11/xchar2b.patch b/packages/xorg-lib/diet-x11/xchar2b.patch
new file mode 100644
index 0000000000..5459f5ed69
--- /dev/null
+++ b/packages/xorg-lib/diet-x11/xchar2b.patch
@@ -0,0 +1,11 @@
+--- /tmp/Xlib.h 2006-12-01 14:40:27.000000000 +0100
++++ libX11-X11R7.1-1.0.1/include/X11/Xlib.h 2006-12-01 14:40:56.948254000 +0100
+@@ -1067,7 +1067,7 @@
+ typedef struct { /* normal 16 bit characters are two bytes */
+ unsigned char byte1;
+ unsigned char byte2;
+-} XChar2b;
++} __attribute__ ((packed)) XChar2b;
+
+ typedef struct {
+ XChar2b *chars; /* two byte characters */