1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-04 02:49:14 -04:00
ports/science/pcmsolver/files/patch-src_interface_Input.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
239 B
C++

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