File
Blob: patches/sqlite/0002-macOS-missing-PATH-fix.patch
| 1 | diff --color -u5 -r sqlite-src-3440000-pristine/tool/mksqlite3c.tcl sqlite-src-3440000-modified/tool/mksqlite3c.tcl |
| 2 | --- sqlite-src-3440000-pristine/tool/mksqlite3c.tcl 2023-11-01 07:31:37 |
| 3 | +++ sqlite-src-3440000-modified/tool/mksqlite3c.tcl 2024-03-14 17:36:55 |
| 4 | @@ -84,11 +84,14 @@ |
| 5 | set fname sqlite3.c |
| 6 | if {$enable_recover} { set fname sqlite3r.c } |
| 7 | set out [open $fname w] |
| 8 | # Force the output to use unix line endings, even on Windows. |
| 9 | fconfigure $out -translation lf |
| 10 | -set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1] |
| 11 | +# The command below results in "couldn't find HOME environment variable to |
| 12 | +# expand path" errors on macOS CI runs. today is unused, so it is safe to |
| 13 | +# comment it out. |
| 14 | +# set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1] |
| 15 | puts $out [subst \ |
| 16 | {/****************************************************************************** |
| 17 | ** This file is an amalgamation of many separate C source files from SQLite |
| 18 | ** version $VERSION. By combining all the individual C code files into this |
| 19 | ** single large file, the entire code can be compiled as a single translation |