freebsd-ports/science/pcmsolver/files/patch-src_bin_run__pcm.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
208 B
C++

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