pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cmake



Module Name:    pkgsrc
Committed By:   charlotte
Date:           Wed Mar  8 04:24:03 UTC 2023

Modified Files:
        pkgsrc/devel/cmake: distinfo
Added Files:
        pkgsrc/devel/cmake/patches: patch-Source_cmSystemTools.cxx

Log Message:
devel/cmake: Unbreak build on DragonFly


To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.206 pkgsrc/devel/cmake/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/cmake/patches/patch-Source_cmSystemTools.cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cmake/distinfo
diff -u pkgsrc/devel/cmake/distinfo:1.205 pkgsrc/devel/cmake/distinfo:1.206
--- pkgsrc/devel/cmake/distinfo:1.205   Fri Jan 20 13:08:07 2023
+++ pkgsrc/devel/cmake/distinfo Wed Mar  8 04:24:03 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.205 2023/01/20 13:08:07 adam Exp $
+$NetBSD: distinfo,v 1.206 2023/03/08 04:24:03 charlotte Exp $
 
 BLAKE2s (cmake-3.25.2.tar.gz) = 9104e3ffca9dd7e5190a8718903aa53ce8a6d74d1d34e8b467e354048c16e1dd
 SHA512 (cmake-3.25.2.tar.gz) = 20146d06a1722c36249192944a58e4780aad334d2bc5ce2a3d8c4f24656630c5b71ca0ae7ed53587e3d46f488bd773452fa60c3fc7045fe54db2dbc6ffd86390
@@ -20,5 +20,6 @@ SHA1 (patch-Source_Checks_Curses_CheckCu
 SHA1 (patch-Source_Checks_cm__cxx17__check.cpp) = d5e2708df6fcda078b1b5ea59264c663d2633ced
 SHA1 (patch-Source_Modules_CMakeBuildUtilities.cmake) = 7046fb8a0d2aadb81e027d8e2f1a4bccf2bd79cf
 SHA1 (patch-Source_QtDialog_CMakeLists.txt) = 1cefaa7ee6cd09e84d699ea54844ae3811d890f7
+SHA1 (patch-Source_cmSystemTools.cxx) = 31d736e21ce7f03192cf029a8b6419caa6f00a65
 SHA1 (patch-Utilities_KWIML_CMakeLists.txt) = e4bdf9fc58757e87bf7e3e3e195839eededbc796
 SHA1 (patch-bootstrap) = e34f5b888790e766338086b8c3680be79b71ef18

Added files:

Index: pkgsrc/devel/cmake/patches/patch-Source_cmSystemTools.cxx
diff -u /dev/null pkgsrc/devel/cmake/patches/patch-Source_cmSystemTools.cxx:1.1
--- /dev/null   Wed Mar  8 04:24:03 2023
+++ pkgsrc/devel/cmake/patches/patch-Source_cmSystemTools.cxx   Wed Mar  8 04:24:03 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-Source_cmSystemTools.cxx,v 1.1 2023/03/08 04:24:03 charlotte Exp $
+
+DragonFly also benefits from _XOPEN_SOURCE >= 700 (it grants access to
+gettimeofday() at the very least)
+
+--- Source/cmSystemTools.cxx.orig      2023-03-08 03:53:53.090719000 -0800
++++ Source/cmSystemTools.cxx   2023-03-08 03:54:20.059507000 -0800
+@@ -6,7 +6,7 @@
+ // NOLINTNEXTLINE(bugprone-reserved-identifier)
+ #  define _POSIX_C_SOURCE 200809L
+ #endif
+-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__QNX__)
++#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__QNX__)
+ // For isascii
+ // NOLINTNEXTLINE(bugprone-reserved-identifier)
+ #  define _XOPEN_SOURCE 700



Home | Main Index | Thread Index | Old Index