From 256c7ec0a729f3d57b95394d2af34c9dcf33c557 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Mon, 19 Jun 2023 15:26:54 -0400 Subject: [PATCH 1/2] externals: Update tzdb_to_nx Includes a fix for the Apple date utility. --- externals/nx_tzdb/tzdb_to_nx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/nx_tzdb/tzdb_to_nx b/externals/nx_tzdb/tzdb_to_nx index 34df65eff2..8c272f21d1 160000 --- a/externals/nx_tzdb/tzdb_to_nx +++ b/externals/nx_tzdb/tzdb_to_nx @@ -1 +1 @@ -Subproject commit 34df65eff295c2bd9ee9e6a077d662486d5cabb3 +Subproject commit 8c272f21d19c6e821345fd055f41b9640f9189d0 From bedb5135c0c9981dae2e12a6b0dcf06d9a73635f Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Mon, 19 Jun 2023 15:30:11 -0400 Subject: [PATCH 2/2] nx_tzdb: Rename GNU_DATE variable The repository can handle either GNU date or Apple date now. --- externals/nx_tzdb/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/nx_tzdb/CMakeLists.txt b/externals/nx_tzdb/CMakeLists.txt index d5a1c6317b..5937862507 100644 --- a/externals/nx_tzdb/CMakeLists.txt +++ b/externals/nx_tzdb/CMakeLists.txt @@ -7,7 +7,7 @@ add_library(nx_tzdb INTERFACE) find_program(GIT git) find_program(GNU_MAKE make) -find_program(GNU_DATE date) +find_program(DATE_PROG date) set(CAN_BUILD_NX_TZDB true) @@ -17,7 +17,7 @@ endif() if (NOT GNU_MAKE) set(CAN_BUILD_NX_TZDB false) endif() -if (NOT GNU_DATE) +if (NOT DATE_PROG) set(CAN_BUILD_NX_TZDB false) endif() if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR ANDROID)