Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: https://github.com/yuzu-emu/yuzu/compare/27a36cd51...5ab4aa1ed (cherry picked from commit d64d2c5)
- Loading branch information
Showing
3 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
Don't depend on devel/git as distfiles are generated by git-archive(1) | ||
thus don't contain .git subdirs. | ||
|
||
--- externals/nx_tzdb/CMakeLists.txt.orig 2023-06-23 13:27:28 UTC | ||
+++ externals/nx_tzdb/CMakeLists.txt | ||
@@ -5,15 +5,11 @@ add_library(nx_tzdb INTERFACE) | ||
|
||
add_library(nx_tzdb INTERFACE) | ||
|
||
-find_program(GIT git) | ||
find_program(GNU_MAKE make) | ||
find_program(DATE_PROG date) | ||
|
||
set(CAN_BUILD_NX_TZDB true) | ||
|
||
-if (NOT GIT) | ||
- set(CAN_BUILD_NX_TZDB false) | ||
-endif() | ||
if (NOT GNU_MAKE) | ||
set(CAN_BUILD_NX_TZDB false) | ||
endif() | ||
--- externals/nx_tzdb/tzdb_to_nx/externals/tz/tz/version.orig 2023-06-23 13:27:28 UTC | ||
+++ externals/nx_tzdb/tzdb_to_nx/externals/tz/tz/version | ||
@@ -0,0 +1 @@ | ||
+2022c | ||
--- externals/nx_tzdb/tzdb_to_nx/src/tzdb/CMakeLists.txt.orig 2023-06-23 19:37:14 UTC | ||
+++ externals/nx_tzdb/tzdb_to_nx/src/tzdb/CMakeLists.txt | ||
@@ -1,8 +1,3 @@ | ||
-find_program(GIT_PROGRAM git) | ||
-if ("${GIT_PROGRAM}" STREQUAL "GIT_PROGRAM-NOTFOUND") | ||
- message(FATAL_ERROR "git program not found") | ||
-endif() | ||
- | ||
find_program(GNU_DATE date) | ||
if ("${GNU_DATE}" STREQUAL "GNU_DATE-NOTFOUND") | ||
message(FATAL_ERROR "date program not found") | ||
@@ -12,17 +7,7 @@ set(TZDB_VERSION_FILE ${TZ_SOURCE_DIR}/NEWS) | ||
set(NX_ZONEINFO_DIR "${NX_TZDB_DIR}/zoneinfo") | ||
|
||
set(TZDB_VERSION_FILE ${TZ_SOURCE_DIR}/NEWS) | ||
- | ||
-execute_process( | ||
- COMMAND | ||
- ${GIT_PROGRAM} log --pretty=%at -n1 NEWS | ||
- OUTPUT_VARIABLE | ||
- TZ_COMMIT_TIME | ||
- WORKING_DIRECTORY | ||
- ${TZ_SOURCE_DIR} | ||
- COMMAND_ERROR_IS_FATAL ANY) | ||
- | ||
-string(REPLACE "\n" "" TZ_COMMIT_TIME "${TZ_COMMIT_TIME}") | ||
+set(TZ_COMMIT_TIME 1687220316) | ||
|
||
if (APPLE) | ||
set(VERSION_COMMAND ${GNU_DATE} -r ${TZ_COMMIT_TIME} +%y%m%d) |