Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 314459 Details for
Bug 395363
x11-proto/xproto: add x32 support (fix building of pkgs like x11-libs/libXmu)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against latest x11-proto/xproto (less invasive this time)
0001-Xmd.h-Treat-__ILP32__-targets-as-LONG32-ones.patch (text/plain), 1.25 KB, created by
Sergei Trofimovich (RETIRED)
on 2012-06-06 18:49:07 UTC
(
hide
)
Description:
patch against latest x11-proto/xproto (less invasive this time)
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2012-06-06 18:49:07 UTC
Size:
1.25 KB
patch
obsolete
>From a53e4f277209d934518f8addfdf0bc1187ccb43a Mon Sep 17 00:00:00 2001 >From: Sergei Trofimovich <slyfox@gentoo.org> >Date: Tue, 20 Dec 2011 16:43:44 +0300 >Subject: [PATCH v2] Xmd.h: Treat __ILP32__ targets as LONG32 ones > >amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4 > >Noticed on build failure of libXmu: > libXmu-1.1.0/work/libXmu-1.1.0/src/EditresCom.c: In function '_XEditresGetStringValues': > libXmu-1.1.0/work/libXmu-1.1.0/src/EditresCom.c:2198:6: error: duplicate case value > libXmu-1.1.0/work/libXmu-1.1.0/src/EditresCom.c:2194:6: error: previously used here > >More info about x32: https://sites.google.com/site/x32abi/ > >Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> >--- >Change since v1: >- x32 got __ILP32__ and _ILP32 defines > allowing result be more generic > Xmd.h | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/Xmd.h b/Xmd.h >index f3868b3..96cc08f 100644 >--- a/Xmd.h >+++ b/Xmd.h >@@ -64,7 +64,9 @@ SOFTWARE. > defined(__s390x__) || \ > defined(__amd64__) || defined(amd64) || \ > defined(__powerpc64__) >-# define LONG64 /* 32/64-bit architecture */ >+# if !defined(__ILP32__) /* amd64-x32 is 32bit */ >+# define LONG64 /* 32/64-bit architecture */ >+# endif /* !__ILP32__ */ > # endif > > /* >-- >1.7.8.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 395363
:
296445
|
296447
| 314459