FreeBSD Bugzilla – Attachment 197952 Details for
Bug 232107
math/vtk5: fix build on GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
vtk5.patch (text/plain), 1.01 KB, created by
Piotr Kubaj
on 2018-10-09 03:21:22 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-10-09 03:21:22 UTC
Size:
1.01 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 481501) >+++ Makefile (working copy) >@@ -14,8 +14,6 @@ > LICENSE= BSD3CLAUSE > LICENSE_FILE= ${WRKSRC}/Copyright.txt > >-BROKEN_powerpc64= fails to build: sibling call optimization to `_ZN14vtkProbeFilter26SetValidPointMaskArrayNameEPKc' does not allow automatic multiple TOCs >- > LIB_DEPENDS= libexpat.so:textproc/expat2 \ > libpng.so:graphics/png \ > libtiff.so:graphics/tiff >@@ -115,6 +113,7 @@ > -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so > PLIST_SUB+= X11="@comment " > .else >+USES+= gl > USE_GL= yes > PLIST_SUB+= X11="" > .endif >@@ -205,6 +204,12 @@ > PLIST_SUB+= LEGACY="@comment " > .endif > >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 >+USE_GCC= 5 >+.endif >+ > post-patch: > ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ > ${WRKSRC}/Hybrid/vtkVRMLImporter.cxx >@@ -268,4 +273,4 @@ > @${ECHO_CMD} > .endif > >-.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
Actions:
View
|
Diff
Attachments on
bug 232107
: 197952