FreeBSD Bugzilla – Attachment 202435 Details for
Bug 236099
graphics/pcl-pointclouds: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
pcl-pointclouds.patch (text/plain), 998 bytes, created by
Piotr Kubaj
on 2019-02-28 07:42:27 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-02-28 07:42:27 UTC
Size:
998 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 494129) >+++ Makefile (working copy) >@@ -55,6 +55,7 @@ > VTK_LIB_DEPENDS= libvtkCommonCore-8.1.so:math/vtk8 > VTK_BROKEN= VTK has missing ompxx symbols: https://gitlab.kitware.com/vtk/vtk/issues/17444 > >+.if !exists(/usr/lib/libstdc++.so) > # use clang from ports because cmake can't find OpenMP with base clang, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 > # This should also be an port option, but PCL fails to build w/out OpenMP: https://github.com/PointCloudLibrary/pcl/issues/2638 > BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} >@@ -61,6 +62,9 @@ > CPP= clang-cpp${LLVM_DEFAULT} > CC= clang${LLVM_DEFAULT} > CXX= clang++${LLVM_DEFAULT} >+.else >+USE_GCC= yes >+.endif > > post-patch: # 10 doesn't have std::sqrt, switching to ::sqrt from math.h > @${GREP} -rl std::sqrt ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|::std::sqrt|::sqrt|g ; s|std::sqrt|::sqrt|g'
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 236099
: 202435