FreeBSD Bugzilla – Attachment 189436 Details for
Bug 224927
lang/gcc48 lang/gcc49 lang/gcc5: Fix build with clang 6.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with clang 6.0.0 for lang/gcc{48,49,5}
lang__gcc48_49_5-fix-clang6-build-1.diff (text/plain), 2.74 KB, created by
Dimitry Andric
on 2018-01-05 09:30:58 UTC
(
hide
)
Description:
Fix build with clang 6.0.0 for lang/gcc{48,49,5}
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2018-01-05 09:30:58 UTC
Size:
2.74 KB
patch
obsolete
>Index: lang/gcc48/Makefile >=================================================================== >--- lang/gcc48/Makefile (revision 457655) >+++ lang/gcc48/Makefile (working copy) >@@ -120,6 +120,11 @@ SUB_LIST+= TARGLIB=${TARGLIB} > pre-everything:: > @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" > >+post-patch: >+ @${FIND} ${WRKSRC} -type f -name '*.[ch]' | \ >+ ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND)' | \ >+ ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND)/" \1/g' >+ > pre-configure: > cd ${WRKSRC} ; contrib/gcc_update --touch > @${RM} ${WRKSRC}/gcc/*/*.info* >Index: lang/gcc49/Makefile >=================================================================== >--- lang/gcc49/Makefile (revision 457655) >+++ lang/gcc49/Makefile (working copy) >@@ -120,6 +120,11 @@ SUB_LIST+= TARGLIB=${TARGLIB} > pre-everything:: > @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" > >+post-patch: >+ @${FIND} ${WRKSRC} -type f -name '*.[ch]' | \ >+ ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND)' | \ >+ ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND)/" \1/g' >+ > pre-configure: > cd ${WRKSRC} ; contrib/gcc_update --touch > @${RM} ${WRKSRC}/gcc/*/*.info* >Index: lang/gcc5/Makefile >=================================================================== >--- lang/gcc5/Makefile (revision 457655) >+++ lang/gcc5/Makefile (working copy) >@@ -117,6 +117,11 @@ CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} > pre-everything:: > @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" > >+post-patch: >+ @${FIND} ${WRKSRC} -type f \( -name '*.[ch]' -o -name '*.cc' \) | \ >+ ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND|PRId64)' | \ >+ ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND|PRId64)/" \1/g' >+ > pre-configure: > cd ${WRKSRC} ; contrib/gcc_update --touch > @${RM} ${WRKSRC}/gcc/*/*.info* >Index: lang/gcc5/files/patch-gcc_toplev.c >=================================================================== >--- lang/gcc5/files/patch-gcc_toplev.c (nonexistent) >+++ lang/gcc5/files/patch-gcc_toplev.c (working copy) >@@ -0,0 +1,11 @@ >+--- gcc/toplev.c.orig 2018-01-04 15:22:21 UTC >++++ gcc/toplev.c >+@@ -1386,7 +1386,7 @@ process_options (void) >+ >+ if (flag_sanitize & SANITIZE_THREAD) >+ { >+- error (UNKNOWN_LOCATION, >++ error_at (UNKNOWN_LOCATION, >+ "%<-fcheck-pointer-bounds%> is not supported with " >+ "Thread Sanitizer"); >+ > >Property changes on: lang/gcc5/files/patch-gcc_toplev.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
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 224927
: 189436