Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177971 Details for
Bug 254430
sys-libs/libhx-2.2 fails to compile on hardened
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes compile error with gcc < 3.5
libhx-2.2-hardened.patch (text/plain), 839 bytes, created by
Paul Metselaar
on 2009-01-10 15:21:44 UTC
(
hide
)
Description:
Fixes compile error with gcc < 3.5
Filename:
MIME Type:
Creator:
Paul Metselaar
Created:
2009-01-10 15:21:44 UTC
Size:
839 bytes
patch
obsolete
>--- libHX-2.2-old/src/defs.h 2009-01-01 11:58:48.000000000 +0100 >+++ libHX-2.2/src/defs.h 2009-01-09 22:51:02.000000000 +0100 >@@ -2,7 +2,7 @@ > #define _LIBHX_DEFS_H 1 > > #ifdef __cplusplus >-# if defined(__GNUC__) && !defined(offsetof) >+# if defined(__GNUC__) && !defined(offsetof) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 5)) > # define offsetof(type, member) __builtin_offsetof(type, member) > # endif > # ifndef offsetof >@@ -116,7 +116,7 @@ static inline new_type signed_cast(unsig > # ifndef reinterpret_cast > # define reinterpret_cast(type, expr) ((type)(expr)) > # endif >-# if defined(__GNUC__) && !defined(offsetof) >+# if defined(__GNUC__) && !defined(offsetof) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 5)) > # define offsetof(type, member) __builtin_offsetof(type, member) > # endif > # ifndef offsetof
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 254430
: 177971