View | Details | Raw Unified | Return to bug 241465
Collapse All | Expand All

(-)Makefile (-3 / +3 lines)
Lines 12-20 Link Here
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
BROKEN_powerpc64=	fails to compile: SphericalDiffuse.cpp:182: invalid initialization of non-const reference
15
USES=		cmake:noninja compiler:c11 fortran python
16
17
USES=		cmake:noninja fortran python
18
USE_GITHUB=	yes
16
USE_GITHUB=	yes
19
GH_ACCOUNT=	PCMSolver
17
GH_ACCOUNT=	PCMSolver
20
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
Lines 27-32 Link Here
27
			-DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \
25
			-DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \
28
			-DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \
26
			-DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \
29
			-DCMAKE_EXE_LINKER_FLAGS:STRING="${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \
27
			-DCMAKE_EXE_LINKER_FLAGS:STRING="${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \
28
			-DCMAKE_C_COMPILER:STRING="${CC}" \
29
			-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
30
			${CMAKE_SOURCE_PATH}
30
			${CMAKE_SOURCE_PATH}
31
31
32
post-patch:
32
post-patch:
(-)files/patch-src_bin_run__pcm.cpp (+10 lines)
Line 0 Link Here
1
--- src/bin/run_pcm.cpp.orig	2019-10-24 12:38:26 UTC
2
+++ src/bin/run_pcm.cpp
3
@@ -31,6 +31,7 @@
4
 #include <utility>
5
 #include <vector>
6
 
7
+#include <sys/types.h>
8
 #include "Config.hpp"
9
 
10
 #include <Eigen/Core>
(-)files/patch-src_cavity_GePolCavity.cpp (+18 lines)
Line 0 Link Here
1
--- src/cavity/GePolCavity.cpp.orig	2019-10-24 12:25:02 UTC
2
+++ src/cavity/GePolCavity.cpp
3
@@ -21,6 +21,7 @@
4
  * PCMSolver API, see: <http://pcmsolver.readthedocs.io/>
5
  */
6
 
7
+#include <sys/types.h>
8
 #include "GePolCavity.hpp"
9
 
10
 #include <algorithm>
11
@@ -32,7 +33,6 @@
12
 #include <string>
13
 #include <vector>
14
 
15
-#include <sys/types.h>
16
 #include <unistd.h>
17
 
18
 #include "Config.hpp"
(-)files/patch-src_green_SphericalDiffuse.cpp (+10 lines)
Line 0 Link Here
1
--- src/green/SphericalDiffuse.cpp.orig	2019-10-24 12:30:56 UTC
2
+++ src/green/SphericalDiffuse.cpp
3
@@ -21,6 +21,7 @@
4
  * PCMSolver API, see: <http://pcmsolver.readthedocs.io/>
5
  */
6
 
7
+#include <sys/types.h>
8
 #include "SphericalDiffuse.hpp"
9
 
10
 #include <iosfwd>
(-)files/patch-src_interface_Input.cpp (+10 lines)
Line 0 Link Here
1
--- src/interface/Input.cpp.orig	2019-10-24 12:34:49 UTC
2
+++ src/interface/Input.cpp
3
@@ -21,6 +21,7 @@
4
  * PCMSolver API, see: <http://pcmsolver.readthedocs.io/>
5
  */
6
 
7
+#include <sys/types.h>
8
 #include "Input.hpp"
9
 
10
 #include <algorithm>
(-)files/patch-src_interface_Meddle.cpp (+10 lines)
Line 0 Link Here
1
--- src/interface/Meddle.cpp.orig	2019-10-24 12:36:20 UTC
2
+++ src/interface/Meddle.cpp
3
@@ -21,6 +21,7 @@
4
  * PCMSolver API, see: <http://pcmsolver.readthedocs.io/>
5
  */
6
 
7
+#include <sys/types.h>
8
 #include "Meddle.hpp"
9
 #include "PCMInput.h"
10
 #include "pcmsolver.h"

Return to bug 241465