FreeBSD Bugzilla – Attachment 185888 Details for
Bug 221836
cad/stepcode Workaround for clang 5.0 regression
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to the ports tree V2
fix-clang-5_0-regression-v2.patch.txt (text/plain), 1.28 KB, created by
Fernando Apesteguía
on 2017-08-29 18:53:31 UTC
(
hide
)
Description:
patch to the ports tree V2
Filename:
MIME Type:
Creator:
Fernando Apesteguía
Created:
2017-08-29 18:53:31 UTC
Size:
1.28 KB
patch
obsolete
>diff -ruN cad/stepcode.orig/Makefile cad/stepcode/Makefile >--- cad/stepcode.orig/Makefile 2017-08-29 18:51:13.188107000 +0200 >+++ cad/stepcode/Makefile 2017-08-29 18:50:06.886662000 +0200 >@@ -4,7 +4,7 @@ > PORTNAME= stepcode > PORTVERSION= 0.8 > DISTVERSIONPREFIX= v >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= cad > > MAINTAINER= fernando.apesteguia@gmail.com >@@ -23,10 +23,27 @@ > CMAKE_ARGS+= -DSC_INSTALL_PREFIX=${PREFIX} \ > -DSC_BUILD_TYPE=Release > >+.include <bsd.port.pre.mk> >+ >+# There's a regression in clang 5.0 thak makes the compiler >+# take ages to compile this port and report the process >+# as run-away. >+# This should be reverted once this is fixed upstream and we >+# have imported those changes. >+# In the meantime, fallback to clang 3.8 >+# >+# For details, see: https://lists.freebsd.org/pipermail/freebsd-hackers/2017-August/051361.html >+ >+.if ${ARCH} == "i386" && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} == 50 >+CC= "clang38" >+CXX= "clang++38" >+CPP= "clang-cpp38" >+.endif >+ > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/schema_scanner > @(cd ${STAGEDIR}${PREFIX} ; \ > ${FIND} include \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST}) > @${MV} ${STAGEDIR}${PREFIX}/share/man/man1/* ${STAGEDIR}${PREFIX}/man/man1/ > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
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
Flags:
fernape
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 221836
:
185788
| 185888