diff options
Diffstat (limited to 'www-plugins/nspluginwrapper/files/nspluginwrapper-1.3.0-offsetof.patch')
-rw-r--r-- | www-plugins/nspluginwrapper/files/nspluginwrapper-1.3.0-offsetof.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www-plugins/nspluginwrapper/files/nspluginwrapper-1.3.0-offsetof.patch b/www-plugins/nspluginwrapper/files/nspluginwrapper-1.3.0-offsetof.patch new file mode 100644 index 000000000000..93e3e174adac --- /dev/null +++ b/www-plugins/nspluginwrapper/files/nspluginwrapper-1.3.0-offsetof.patch @@ -0,0 +1,11 @@ +--- lsb-build/headers/stddef.h ++++ lsb-build/headers/stddef.h +@@ -7,7 +7,7 @@ + #endif + + +-#define offsetof(TYPE,MEMBER) ((size_t)&((TYPE*)0)->MEMBER) ++#define offsetof(TYPE,MEMBER) __builtin_offsetof(TYPE,MEMBER) + + #if !defined(__cplusplus) + |