FreeBSD Bugzilla – Attachment 152964 Details for
Bug 197624
[patch] multimedia/libvpx : fix build on gcc-5 (probably gcc 4.9 too)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to avoid clash on max_align_t name
patch-fix-max_align_t.txt (text/plain), 787 bytes, created by
John Marino
on 2015-02-14 10:52:38 UTC
(
hide
)
Description:
Patch to avoid clash on max_align_t name
Filename:
MIME Type:
Creator:
John Marino
Created:
2015-02-14 10:52:38 UTC
Size:
787 bytes
patch
obsolete
>Fix build on modern gcc which defines max_align_t for C11 >It renames the locale definition to avoid the name clash. > >--- nestegg/halloc/src/align.h.orig 2015-02-13 18:52:27.000000000 +0200 >+++ nestegg/halloc/src/align.h 2015-02-13 19:09:17.000000000 +0200 >@@ -30,7 +30,7 @@ > void (*q)(void); > }; > >-typedef union max_align max_align_t; >+typedef union max_align halloc_max_align_t; > > #endif > >--- nestegg/halloc/src/halloc.c.orig 2015-02-13 19:05:53.000000000 +0200 >+++ nestegg/halloc/src/halloc.c 2015-02-13 19:06:12.000000000 +0200 >@@ -30,7 +30,7 @@ > #endif > hlist_item_t siblings; /* 2 pointers */ > hlist_head_t children; /* 1 pointer */ >- max_align_t data[1]; /* not allocated, see below */ >+ halloc_max_align_t data[1]; /* not allocated, see below */ > > } hblock_t; > >
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 197624
:
152964
|
152965