FreeBSD Bugzilla – Attachment 150104 Details for
Bug 194680
[exp-run] Update devel/bison to 3.0.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix attribute usages to fix Clang in C++11 mode.
bison3.diff (text/plain), 4.49 KB, created by
Jung-uk Kim
on 2014-12-02 20:46:15 UTC
(
hide
)
Description:
Fix attribute usages to fix Clang in C++11 mode.
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2014-12-02 20:46:15 UTC
Size:
4.49 KB
patch
obsolete
>Index: devel/bison/files/patch-data__glr.c >=================================================================== >--- devel/bison/files/patch-data__glr.c (revision 0) >+++ devel/bison/files/patch-data__glr.c (working copy) >@@ -0,0 +1,20 @@ >+--- data/glr.c.orig 2013-11-14 10:01:22.000000000 -0500 >++++ data/glr.c 2014-12-02 15:27:27.000000000 -0500 >+@@ -669,7 +669,7 @@ >+ static void yyexpandGLRStack (yyGLRStack* yystackp); >+ #endif >+ >+-static _Noreturn void >++_Noreturn static void >+ yyFail (yyGLRStack* yystackp]b4_pure_formals[, const char* yymsg) >+ { >+ if (yymsg != YY_NULLPTR) >+@@ -677,7 +677,7 @@ >+ YYLONGJMP (yystackp->yyexception_buffer, 1); >+ } >+ >+-static _Noreturn void >++_Noreturn static void >+ yyMemoryExhausted (yyGLRStack* yystackp) >+ { >+ YYLONGJMP (yystackp->yyexception_buffer, 2); > >Property changes on: devel/bison/files/patch-data__glr.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/bison/files/patch-lib__obstack.c >=================================================================== >--- devel/bison/files/patch-lib__obstack.c (revision 0) >+++ devel/bison/files/patch-lib__obstack.c (working copy) >@@ -0,0 +1,20 @@ >+--- lib/obstack.c.orig 2013-10-23 04:25:42.000000000 -0400 >++++ lib/obstack.c 2014-12-02 15:27:51.000000000 -0500 >+@@ -87,7 +87,7 @@ >+ abort gracefully or use longjump - but shouldn't return. This >+ variable by default points to the internal function >+ 'print_and_abort'. */ >+-static _Noreturn void print_and_abort (void); >++_Noreturn static void print_and_abort (void); >+ void (*obstack_alloc_failed_handler) (void) = print_and_abort; >+ >+ /* Exit value used when 'print_and_abort' is used. */ >+@@ -401,7 +401,7 @@ >+ # include <libio/iolibio.h> >+ # endif >+ >+-static _Noreturn void >++_Noreturn static void >+ print_and_abort (void) >+ { >+ /* Don't change any of these strings. Yes, it would be possible to add > >Property changes on: devel/bison/files/patch-lib__obstack.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: devel/bison/files/patch-lib__xalloc.h >=================================================================== >--- devel/bison/files/patch-lib__xalloc.h (revision 0) >+++ devel/bison/files/patch-lib__xalloc.h (working copy) >@@ -0,0 +1,11 @@ >+--- lib/xalloc.h.orig 2013-10-23 04:25:42.000000000 -0400 >++++ lib/xalloc.h 2014-12-02 15:28:05.000000000 -0500 >+@@ -52,7 +52,7 @@ >+ or by using gnulib's xalloc-die module. This is the >+ function to call when one wants the program to die because of a >+ memory allocation failure. */ >+-extern _Noreturn void xalloc_die (void); >++_Noreturn extern void xalloc_die (void); >+ >+ void *xmalloc (size_t s) >+ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1)); > >Property changes on: devel/bison/files/patch-lib__xalloc.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/bison/files/patch-lib__xmemdup0.h >=================================================================== >--- devel/bison/files/patch-lib__xmemdup0.h (revision 0) >+++ devel/bison/files/patch-lib__xmemdup0.h (working copy) >@@ -0,0 +1,11 @@ >+--- lib/xmemdup0.h.orig 2013-08-02 11:03:13.000000000 -0400 >++++ lib/xmemdup0.h 2014-12-02 15:28:20.000000000 -0500 >+@@ -30,7 +30,7 @@ >+ or by using gnulib's xalloc-die module. This is the >+ function to call when one wants the program to die because of a >+ memory allocation failure. */ >+-extern _Noreturn void xalloc_die (void); >++_Noreturn extern void xalloc_die (void); >+ >+ char *xmemdup0 (void const *p, size_t s); >+ > >Property changes on: devel/bison/files/patch-lib__xmemdup0.h >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
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 194680
:
148758
|
150104
|
150105