ports/science/pcmsolver/files/patch-src_green_SphericalDiffuse.cpp
Piotr Kubaj d7abb1940f science/pcmsolver: fix build on GCC architectures
Use C++11 compiler.
Respect CC and CXX.

Include sys/types.h before including headers to make gid_t, uid_t available.

PR:		241465
Approved by:	yuri (maintainer), linimon (mentor)
2019-10-27 19:19:07 +00:00

10 lines
261 B
C++

--- 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>