FreeBSD Bugzilla – Attachment 184778 Details for
Bug 219484
cad/openvsp: Fails to build with lang/gcc6 or later on 10.3 (< 11.0)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to the ports tree
fix-build-gcc6-in-10.patch.txt (text/plain), 918 bytes, created by
Fernando Apesteguía
on 2017-07-27 21:04:24 UTC
(
hide
)
Description:
patch to the ports tree
Filename:
MIME Type:
Creator:
Fernando Apesteguía
Created:
2017-07-27 21:04:24 UTC
Size:
918 bytes
patch
obsolete
>diff -ruN /usr/ports/cad/openvsp/Makefile cad/openvsp/Makefile >--- /usr/ports/cad/openvsp/Makefile 2017-07-27 15:41:31.000000000 +0200 >+++ cad/openvsp/Makefile 2017-07-27 21:02:25.825553000 +0200 >@@ -34,6 +34,17 @@ > CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} > USES= cmake:outsource,noninja compiler:gcc-c++11-lib jpeg > >+.include <bsd.port.pre.mk> >+ >+# On FreeBSD < 11 libc++ lacks support for sized delete operators. >+# GCC dropped the builtin version of these operators in 6+ >+# For a more detailed discussion see: >+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219484 >+ >+.if ${OSVERSION} < 1100000 >+USE_GCC= 5 >+.endif >+ > CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \ > -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \ > -DVSP_USE_SYSTEM_CODEELI:BOOLEAN=no \ >@@ -61,4 +72,4 @@ > .endfor > ${CP} ${BUILD_WRKSRC}/${BUILD_PREFIX}/LICENSE ${STAGEDIR}${DATADIR} > >-.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 219484
:
184778
|
184812