FreeBSD Bugzilla – Attachment 208565 Details for
Bug 241465
science/pcmsolver: fix build on GCC architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
pcmsolver.patch (text/plain), 5.07 KB, created by
Piotr Kubaj
on 2019-10-24 12:47:17 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-10-24 12:47:17 UTC
Size:
5.07 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 514705) >+++ Makefile (working copy) >@@ -12,9 +12,7 @@ > LICENSE= GPLv3 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-BROKEN_powerpc64= fails to compile: SphericalDiffuse.cpp:182: invalid initialization of non-const reference >- >-USES= cmake:noninja fortran python >+USES= cmake:noninja compiler:c11 fortran python > USE_GITHUB= yes > GH_ACCOUNT= PCMSolver > USE_LDCONFIG= yes >@@ -27,6 +25,8 @@ > -DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \ > -DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \ > -DCMAKE_EXE_LINKER_FLAGS:STRING="${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \ >+ -DCMAKE_C_COMPILER:STRING="${CC}" \ >+ -DCMAKE_CXX_COMPILER:STRING="${CXX}" \ > ${CMAKE_SOURCE_PATH} > > post-patch: >Index: files/patch-src_bin_run__pcm.cpp >=================================================================== >--- files/patch-src_bin_run__pcm.cpp (nonexistent) >+++ files/patch-src_bin_run__pcm.cpp (working copy) >@@ -0,0 +1,10 @@ >+--- src/bin/run_pcm.cpp.orig 2019-10-24 12:38:26 UTC >++++ src/bin/run_pcm.cpp >+@@ -31,6 +31,7 @@ >+ #include <utility> >+ #include <vector> >+ >++#include <sys/types.h> >+ #include "Config.hpp" >+ >+ #include <Eigen/Core> > >Property changes on: files/patch-src_bin_run__pcm.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_cavity_GePolCavity.cpp >=================================================================== >--- files/patch-src_cavity_GePolCavity.cpp (nonexistent) >+++ files/patch-src_cavity_GePolCavity.cpp (working copy) >@@ -0,0 +1,18 @@ >+--- src/cavity/GePolCavity.cpp.orig 2019-10-24 12:25:02 UTC >++++ src/cavity/GePolCavity.cpp >+@@ -21,6 +21,7 @@ >+ * PCMSolver API, see: <http://pcmsolver.readthedocs.io/> >+ */ >+ >++#include <sys/types.h> >+ #include "GePolCavity.hpp" >+ >+ #include <algorithm> >+@@ -32,7 +33,6 @@ >+ #include <string> >+ #include <vector> >+ >+-#include <sys/types.h> >+ #include <unistd.h> >+ >+ #include "Config.hpp" > >Property changes on: files/patch-src_cavity_GePolCavity.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_green_SphericalDiffuse.cpp >=================================================================== >--- files/patch-src_green_SphericalDiffuse.cpp (nonexistent) >+++ files/patch-src_green_SphericalDiffuse.cpp (working copy) >@@ -0,0 +1,10 @@ >+--- src/green/SphericalDiffuse.cpp.orig 2019-10-24 12:30:56 UTC >++++ src/green/SphericalDiffuse.cpp >+@@ -21,6 +21,7 @@ >+ * PCMSolver API, see: <http://pcmsolver.readthedocs.io/> >+ */ >+ >++#include <sys/types.h> >+ #include "SphericalDiffuse.hpp" >+ >+ #include <iosfwd> > >Property changes on: files/patch-src_green_SphericalDiffuse.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_interface_Input.cpp >=================================================================== >--- files/patch-src_interface_Input.cpp (nonexistent) >+++ files/patch-src_interface_Input.cpp (working copy) >@@ -0,0 +1,10 @@ >+--- src/interface/Input.cpp.orig 2019-10-24 12:34:49 UTC >++++ src/interface/Input.cpp >+@@ -21,6 +21,7 @@ >+ * PCMSolver API, see: <http://pcmsolver.readthedocs.io/> >+ */ >+ >++#include <sys/types.h> >+ #include "Input.hpp" >+ >+ #include <algorithm> > >Property changes on: files/patch-src_interface_Input.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_interface_Meddle.cpp >=================================================================== >--- files/patch-src_interface_Meddle.cpp (nonexistent) >+++ files/patch-src_interface_Meddle.cpp (working copy) >@@ -0,0 +1,10 @@ >+--- src/interface/Meddle.cpp.orig 2019-10-24 12:36:20 UTC >++++ src/interface/Meddle.cpp >+@@ -21,6 +21,7 @@ >+ * PCMSolver API, see: <http://pcmsolver.readthedocs.io/> >+ */ >+ >++#include <sys/types.h> >+ #include "Meddle.hpp" >+ #include "PCMInput.h" >+ #include "pcmsolver.h" > >Property changes on: files/patch-src_interface_Meddle.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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:
pkubaj
:
maintainer-approval?
(
yuri
)
Actions:
View
|
Diff
Attachments on
bug 241465
: 208565