reproducibility.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From: Johann Klammer <klammerj@a1.net>
  2. Date: Sat, 4 Aug 2018 13:17:43 +0000
  3. Subject: Remove the __TIME__ etc macros
  4. Otherwise the debian package checking complains...
  5. ===================================================================
  6. ---
  7. src/base/cmd/cmdUtils.c | 2 +-
  8. src/base/main/mainUtils.c | 2 +-
  9. 2 files changed, 2 insertions(+), 2 deletions(-)
  10. diff --git a/src/base/cmd/cmdUtils.c b/src/base/cmd/cmdUtils.c
  11. index 3409543..9b7223f 100644
  12. --- a/src/base/cmd/cmdUtils.c
  13. +++ b/src/base/cmd/cmdUtils.c
  14. @@ -589,7 +589,7 @@ void CmdCommandPrint( Abc_Frame_t * pAbc, int fPrintAll, int fDetails )
  15. nColumns = 79 / (LenghtMax + 2);
  16. // print the starting message
  17. - fprintf( pAbc->Out, " Welcome to ABC compiled on %s %s!", __DATE__, __TIME__ );
  18. + fprintf( pAbc->Out, " Welcome to ABC!");
  19. // print the command by group
  20. sGroupCur = NULL;
  21. diff --git a/src/base/main/mainUtils.c b/src/base/main/mainUtils.c
  22. index d1fe1d2..3668f3b 100644
  23. --- a/src/base/main/mainUtils.c
  24. +++ b/src/base/main/mainUtils.c
  25. @@ -52,7 +52,7 @@ static char * DateReadFromDateString( char * datestr );
  26. char * Abc_UtilsGetVersion( Abc_Frame_t * pAbc )
  27. {
  28. static char Version[1000];
  29. - sprintf(Version, "%s (compiled %s %s)", ABC_VERSION, __DATE__, __TIME__);
  30. + sprintf(Version, "%s", ABC_VERSION);
  31. return Version;
  32. }