summaryrefslogtreecommitdiff
path: root/packages/xorg-lib/libx11/xchar2b.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-02-18 23:32:03 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-02-18 23:32:03 +0000
commit3736c8dda619105cbe8908c9a86f4263d610a59e (patch)
treefd4cdbaa54cab79883da1a961cc078ce7b3cb398 /packages/xorg-lib/libx11/xchar2b.patch
parent271bcb3e87c1c1b8236ccbc7d57f225fe60921b4 (diff)
xorg-lib: Remove unused patches, combine diet-x11 and libx11 patches into the same place
Diffstat (limited to 'packages/xorg-lib/libx11/xchar2b.patch')
-rw-r--r--packages/xorg-lib/libx11/xchar2b.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/xorg-lib/libx11/xchar2b.patch b/packages/xorg-lib/libx11/xchar2b.patch
new file mode 100644
index 0000000000..31da58fa5c
--- /dev/null
+++ b/packages/xorg-lib/libx11/xchar2b.patch
@@ -0,0 +1,13 @@
+http://www.koka-in.org/~kensyu/zaurus/diary/20030618.html
+
+--- /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 */