[kde-freebsd] [Bug 204921] devel/cmake: 3.4.0 fails to build with GCC 4.8+

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 2 10:59:21 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204921

--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:

Author: rakuco
Date: Wed Dec  2 10:58:51 UTC 2015
New revision: 402818
URL: https://svnweb.freebsd.org/changeset/ports/402818

Log:
  CMake: Add upstream patch to fix the build with recent GCCs.

  At least lang/gcc (4.8) and later were known to be broken like this:

  /usr/ports/devel/cmake/work/cmake-3.4.0/Source/cmArchiveWrite.h:93:23: error:
'mode_t' has not been declared
     void SetPermissions(mode_t permissions_)
                         ^
  /usr/ports/devel/cmake/work/cmake-3.4.0/Source/cmArchiveWrite.h:106:27:
error: 'mode_t' has not been declared
     void SetPermissionsMask(mode_t permissionsMask_)
                             ^
  /usr/ports/devel/cmake/work/cmake-3.4.0/Source/cmArchiveWrite.h:179:26:
error: 'mode_t' was not declared in this scope
     cmArchiveWriteOptional<mode_t> Permissions;
                            ^
  /usr/ports/devel/cmake/work/cmake-3.4.0/Source/cmArchiveWrite.h:179:32:
error: template argument 1 is invalid
     cmArchiveWriteOptional<mode_t> Permissions;
                                  ^
  /usr/ports/devel/cmake/work/cmake-3.4.0/Source/cmArchiveWrite.h:180:26:
error: 'mode_t' was not declared in this scope
     cmArchiveWriteOptional<mode_t> PermissionsMask;
                            ^
  /usr/ports/devel/cmake/work/cmake-3.4.0/Source/cmArchiveWrite.h:180:32:
error: template argument 1 is invalid
     cmArchiveWriteOptional<mode_t> PermissionsMask;
                                  ^

  This was introduced in CMake 3.4.0, so there is no need for an MFH request.

  PR:        204921

Changes:
  head/devel/cmake/files/patch-git_16f5d184
  head/devel/cmake-gui/files/patch-git_16f5d184

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the kde-freebsd mailing list