svn commit: r395637 - head/devel/cmake/files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Aug 30 19:44:55 UTC 2015
Author: rakuco
Date: Sun Aug 30 19:44:54 2015
New Revision: 395637
URL: https://svnweb.freebsd.org/changeset/ports/395637
Log:
Add upstream patch to make the build work with non-base (ie. newer) GCCs.
The build was failing with, for example, lang/gcc48:
In file included from /usr/ports/devel/cmake/work/cmake-3.2.3/Source/cmGlobalNinjaGenerator.cxx:14:0:
/usr/ports/devel/cmake/work/cmake-3.2.3/Source/cmGeneratorExpressionEvaluationFile.h:39:64: error: 'mode_t' has not been declared
std::map<std::string, std::string> &outputFiles, mode_t perm);
Added:
head/devel/cmake/files/patch-git_c775072a (contents, props changed)
Added: head/devel/cmake/files/patch-git_c775072a
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cmake/files/patch-git_c775072a Sun Aug 30 19:44:54 2015 (r395637)
@@ -0,0 +1,20 @@
+commit c775072ad5a93306183f83f4396268b1690bb392
+Author: Brad King <brad.king at kitware.com>
+Date: Wed Apr 22 09:58:46 2015 -0400
+
+ cmGeneratorExpressionEvaluationFile: Add missing sys/types.h include
+
+ This is needed for 'mode_t', and on mingw-w64 in particular. We added
+ use of 'mode_t' in commit v3.2.0-rc1~421^2 (file(GENERATE): Use
+ permissions of input file if present, 2014-07-22).
+
+--- Source/cmGeneratorExpressionEvaluationFile.h
++++ Source/cmGeneratorExpressionEvaluationFile.h
+@@ -13,6 +13,7 @@
+ #define cmGeneratorExpressionEvaluationFile_h
+
+ #include "cmStandardIncludes.h"
++#include <sys/types.h>
+ #include <cmsys/auto_ptr.hxx>
+
+ #include "cmGeneratorExpression.h"
More information about the svn-ports-all
mailing list