View | Details | Raw Unified | Return to bug 224927
Collapse All | Expand All

(-)lang/gcc48/Makefile (+5 lines)
Lines 120-125 SUB_LIST+= TARGLIB=${TARGLIB} Link Here
120
pre-everything::
120
pre-everything::
121
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
121
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
122
122
123
post-patch:
124
	@${FIND} ${WRKSRC} -type f -name '*.[ch]' | \
125
	    ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND)' | \
126
	    ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND)/" \1/g'
127
123
pre-configure:
128
pre-configure:
124
	cd ${WRKSRC} ; contrib/gcc_update --touch
129
	cd ${WRKSRC} ; contrib/gcc_update --touch
125
	@${RM} ${WRKSRC}/gcc/*/*.info*
130
	@${RM} ${WRKSRC}/gcc/*/*.info*
(-)lang/gcc49/Makefile (+5 lines)
Lines 120-125 SUB_LIST+= TARGLIB=${TARGLIB} Link Here
120
pre-everything::
120
pre-everything::
121
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
121
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
122
122
123
post-patch:
124
	@${FIND} ${WRKSRC} -type f -name '*.[ch]' | \
125
	    ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND)' | \
126
	    ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND)/" \1/g'
127
123
pre-configure:
128
pre-configure:
124
	cd ${WRKSRC} ; contrib/gcc_update --touch
129
	cd ${WRKSRC} ; contrib/gcc_update --touch
125
	@${RM} ${WRKSRC}/gcc/*/*.info*
130
	@${RM} ${WRKSRC}/gcc/*/*.info*
(-)lang/gcc5/Makefile (+5 lines)
Lines 117-122 CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} Link Here
117
pre-everything::
117
pre-everything::
118
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
118
	@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]"
119
119
120
post-patch:
121
	@${FIND} ${WRKSRC} -type f \( -name '*.[ch]' -o -name '*.cc' \) | \
122
	    ${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND|PRId64)' | \
123
	    ${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND|PRId64)/" \1/g'
124
120
pre-configure:
125
pre-configure:
121
	cd ${WRKSRC} ; contrib/gcc_update --touch
126
	cd ${WRKSRC} ; contrib/gcc_update --touch
122
	@${RM} ${WRKSRC}/gcc/*/*.info*
127
	@${RM} ${WRKSRC}/gcc/*/*.info*
(-)lang/gcc5/files/patch-gcc_toplev.c (+11 lines)
Line 0 Link Here
1
--- gcc/toplev.c.orig	2018-01-04 15:22:21 UTC
2
+++ gcc/toplev.c
3
@@ -1386,7 +1386,7 @@ process_options (void)
4
 
5
       if (flag_sanitize & SANITIZE_THREAD)
6
 	{
7
-	  error (UNKNOWN_LOCATION,
8
+	  error_at (UNKNOWN_LOCATION,
9
 		 "%<-fcheck-pointer-bounds%> is not supported with "
10
 		 "Thread Sanitizer");
11
 

Return to bug 224927