logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

python-2.7.12-no-datetime.patch (570B)


  1. diff --git a/Modules/getbuildinfo.c.old b/Modules/getbuildinfo.c
  2. index 7069b6e..11d0674 100644
  3. --- a/Modules/getbuildinfo.c.old
  4. +++ b/Modules/getbuildinfo.c
  5. @@ -4,21 +4,8 @@
  6. #include <stdio.h>
  7. #endif
  8. -#ifndef DATE
  9. -#ifdef __DATE__
  10. -#define DATE __DATE__
  11. -#else
  12. -#define DATE "xx/xx/xx"
  13. +#define DATE "Jan 13 1984"
  14. -#endif
  15. -#endif
  16. -
  17. -#ifndef TIME
  18. -#ifdef __TIME__
  19. -#define TIME __TIME__
  20. -#else
  21. -#define TIME "xx:xx:xx"
  22. +#define TIME "12:30:30"
  23. -#endif
  24. -#endif
  25. /* on unix, SVNVERSION is passed on the command line.
  26. * on Windows, the string is interpolated using