logo

etc_portage

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

inkscape-0.91-no-date.patch (1266B)


  1. diff --git a/src/main.cpp.old b/src/main.cpp
  2. index 517ba05..fc8c4ad 100644
  3. --- a/src/main.cpp.old
  4. +++ b/src/main.cpp
  5. @@ -2178,7 +2178,7 @@ sp_process_args(poptContext ctx)
  6. break;
  7. }
  8. case SP_ARG_VERSION: {
  9. - printf("Inkscape %s (%s)\n", Inkscape::version_string, __DATE__);
  10. + printf("Inkscape %s\n", Inkscape::version_string);
  11. exit(0);
  12. break;
  13. }
  14. diff --git a/./src/extension/internal/emf-print.cpp.old b/./src/extension/internal/emf-print.cpp
  15. index f7b6626..da047f6 100644
  16. --- a/./src/extension/internal/emf-print.cpp.old
  17. +++ b/./src/extension/internal/emf-print.cpp
  18. @@ -205,7 +205,7 @@ unsigned int PrintEmf::begin(Inkscape::Extension::Print *mod, SPDocument *doc)
  19. } else {
  20. p = ansi_uri;
  21. }
  22. - snprintf(buff, sizeof(buff) - 1, "Inkscape %s (%s)\1%s\1", Inkscape::version_string, __DATE__, p);
  23. + snprintf(buff, sizeof(buff) - 1, "Inkscape %s\1%s\1", Inkscape::version_string, p);
  24. uint16_t *Description = U_Utf8ToUtf16le(buff, 0, NULL);
  25. int cbDesc = 2 + wchar16len(Description); // also count the final terminator
  26. (void) U_Utf16leEdit(Description, '\1', '\0'); // swap the temporary \1 characters for nulls