diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-proto/xproto/xproto_fix_for_x32.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xproto/xproto_fix_for_x32.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xproto/xproto_fix_for_x32.patch b/meta/recipes-graphics/xorg-proto/xproto/xproto_fix_for_x32.patch deleted file mode 100644 index 4f9ed99c9c..0000000000 --- a/meta/recipes-graphics/xorg-proto/xproto/xproto_fix_for_x32.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Don't always define LONG64 for AMD64 | ||
4 | |||
5 | X32 defines __amd64__/amd64 with 32bit long. We should simply check | ||
6 | __LP64__ before defining LONG64 without checking __amd64__/amd64. | ||
7 | |||
8 | This fixes compilation with x32 toolchain. | ||
9 | |||
10 | Received this patch from H.J. Lu <hjl.tools@gmail.com> | ||
11 | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/1 | ||
12 | |||
13 | Index: xproto-7.0.31/Xmd.h | ||
14 | =================================================================== | ||
15 | --- xproto-7.0.31.orig/Xmd.h | ||
16 | +++ xproto-7.0.31/Xmd.h | ||
17 | @@ -62,7 +62,6 @@ SOFTWARE. | ||
18 | defined(__ia64__) || defined(ia64) || \ | ||
19 | defined(__sparc64__) || \ | ||
20 | defined(__s390x__) || \ | ||
21 | - defined(__amd64__) || defined(amd64) || \ | ||
22 | defined(__powerpc64__) | ||
23 | # if !defined(__ILP32__) /* amd64-x32 is 32bit */ | ||
24 | # define LONG64 /* 32/64-bit architecture */ | ||