aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2013-12-04 07:21:18 +0800
committergerald <gerald@FreeBSD.org>2013-12-04 07:21:18 +0800
commitf3afb66e984b17d5cc01dc79c822847c224799d3 (patch)
treef43db0c0854db086b79fbe4fa4e25825368c6338
parent9911759d16486de6aff672b1e3a6728bc3822746 (diff)
downloadfreebsd-ports-gnome-f3afb66e984b17d5cc01dc79c822847c224799d3.tar.gz
freebsd-ports-gnome-f3afb66e984b17d5cc01dc79c822847c224799d3.tar.zst
freebsd-ports-gnome-f3afb66e984b17d5cc01dc79c822847c224799d3.zip
Fix the build with GCC 4.7 and later (which do fewer extraneous
#includes of system include files). PR: 183342 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net>
-rw-r--r--net/xpvm/files/patch-mrt-base_file.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/xpvm/files/patch-mrt-base_file.h b/net/xpvm/files/patch-mrt-base_file.h
new file mode 100644
index 000000000000..6f39e5ece4ce
--- /dev/null
+++ b/net/xpvm/files/patch-mrt-base_file.h
@@ -0,0 +1,10 @@
+--- mrt/base_file.h.orig 2013-11-16 13:43:12.000000000 +0100
++++ mrt/base_file.h 2013-11-16 13:44:09.000000000 +0100
+@@ -20,6 +20,7 @@
+ */
+
+ #include <string>
++#include <sys/types.h>
+ #include "export_mrt.h"
+
+ namespace mrt {