logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

empty-date.patch (522B)


  1. SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  2. SPDX-License-Identifier: PSF-2.0
  3. When defined __DATE__ is in the format MMM DD YYYY. xx/xx/xx does
  4. not comply with this so the parser in Lib/platform.py fails on it.
  5. --- Python-3.8.16/Modules/getbuildinfo.c 2022-12-21 13:41:18.120573458 +1100
  6. +++ Python-3.8.16/Modules/getbuildinfo.c 2022-12-21 13:41:30.399716652 +1100
  7. @@ -8,7 +8,7 @@
  8. #ifdef __DATE__
  9. #define DATE __DATE__
  10. #else
  11. -#define DATE "xx/xx/xx"
  12. +#define DATE "xxx xx xxxx"
  13. #endif
  14. #endif