Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 460094 Details for
Bug 605442
app-arch/lzop-1.03: fails to build on PowerPC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from OpenEmbedded / Debian to fix lzop-1.03 build on PowerPC
static-assert.patch (text/plain), 1.11 KB, created by
A. Wilcox (awilfox)
on 2017-01-15 02:37:58 UTC
(
hide
)
Description:
Patch from OpenEmbedded / Debian to fix lzop-1.03 build on PowerPC
Filename:
MIME Type:
Creator:
A. Wilcox (awilfox)
Created:
2017-01-15 02:37:58 UTC
Size:
1.11 KB
patch
obsolete
>Description: Use _Static_assert > The previous hack for making compile-time assertions no longer works > with GCC 6. Use the built-in _Static_assert instead. >Origin: other, package ucl (1.03+repack-4) patch 04-Static-assert.patch >Bug-Debian: https://bugs.debian.org/812054 >Forwarded: no >Last-Update: 2016-07-05 > >--- lzop-1.03.orig/src/miniacc.h >+++ lzop-1.03/src/miniacc.h >@@ -1699,6 +1699,9 @@ extern "C" { > # endif > #endif > #if !defined(ACC_COMPILE_TIME_ASSERT_HEADER) >+# define ACC_COMPILE_TIME_ASSERT_HEADER(e) _Static_assert(e, #e); >+#endif >+#if !defined(ACC_COMPILE_TIME_ASSERT_HEADER) > # if (ACC_CC_AZTECC || ACC_CC_ZORTECHC) > # define ACC_COMPILE_TIME_ASSERT_HEADER(e) extern int __acc_cta[1-!(e)]; > # elif (ACC_CC_DMC || ACC_CC_SYMANTECC) >@@ -1710,6 +1713,9 @@ extern "C" { > # endif > #endif > #if !defined(ACC_COMPILE_TIME_ASSERT) >+# define ACC_COMPILE_TIME_ASSERT(e) _Static_assert(e, #e); >+#endif >+#if !defined(ACC_COMPILE_TIME_ASSERT) > # if (ACC_CC_AZTECC) > # define ACC_COMPILE_TIME_ASSERT(e) {typedef int __acc_cta_t[1-!(e)];} > # elif (ACC_CC_DMC || ACC_CC_PACIFICC || ACC_CC_SYMANTECC || ACC_CC_ZORTECHC)
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 605442
: 460094