pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cmake cmake: Fix build on illumos with C++17 hea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5d9d9c08297
branches:  trunk
changeset: 380086:a5d9d9c08297
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri May 11 13:39:57 2018 +0000

description:
cmake: Fix build on illumos with C++17 header issues.

diffstat:

 devel/cmake/distinfo                                         |   3 +-
 devel/cmake/patches/patch-Source_Checks_cm__cxx17__check.cpp |  14 ++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 2974bc89092f -r a5d9d9c08297 devel/cmake/distinfo
--- a/devel/cmake/distinfo      Fri May 11 13:00:33 2018 +0000
+++ b/devel/cmake/distinfo      Fri May 11 13:39:57 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.118 2018/04/26 17:30:36 minskim Exp $
+$NetBSD: distinfo,v 1.119 2018/05/11 13:39:57 jperkin Exp $
 
 SHA1 (cmake-3.11.1.tar.gz) = 591fc2fabd44f3612676beef6e15f81fbe5417f7
 RMD160 (cmake-3.11.1.tar.gz) = 8bf925456e778b489301d8e1d5cdb1e93d4ccc5c
@@ -12,6 +12,7 @@
 SHA1 (patch-Modules_FindX11.cmake) = 124a2d51155cb4455e8b829dc74598cbd50a4e1c
 SHA1 (patch-Modules_Platform_UnixPaths.cmake) = 38720e11b7b62cb702e80da19e044f070298f2db
 SHA1 (patch-Source_CMakeLists.txt) = 533667d43048b8bc2be17a766b5dc32f3101866e
+SHA1 (patch-Source_Checks_cm__cxx17__check.cpp) = 37772f3e7edc2413cb2e294462312aff18e5c989
 SHA1 (patch-Source_CursesDialog_ccmake.cxx) = d7baafe6612b6ac9b0542ed10ffcf90cd8d1df87
 SHA1 (patch-Utilities_KWIML_CMakeLists.txt) = e4bdf9fc58757e87bf7e3e3e195839eededbc796
 SHA1 (patch-bootstrap) = 9d99cfe9f9ae826250f94bc297f5a22b8de09e84
diff -r 2974bc89092f -r a5d9d9c08297 devel/cmake/patches/patch-Source_Checks_cm__cxx17__check.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cmake/patches/patch-Source_Checks_cm__cxx17__check.cpp      Fri May 11 13:39:57 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-Source_Checks_cm__cxx17__check.cpp,v 1.1 2018/05/11 13:39:57 jperkin Exp $
+
+Test for an issue in the illumos headers related to C++17.
+
+--- Source/Checks/cm_cxx17_check.cpp.orig      2018-04-17 12:28:52.000000000 +0000
++++ Source/Checks/cm_cxx17_check.cpp
+@@ -1,5 +1,7 @@
++#include <cassert>
+ #include <cstdio>
+ #include <unordered_map>
++#include <type_traits>
+ 
+ int main()
+ {



Home | Main Index | Thread Index | Old Index