guile-mingw-file-name-convention.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. From c51b9ff375834d4999978a50d6798289d923de53 Mon Sep 17 00:00:00 2001
  2. From: "Jan (janneke) Nieuwenhuizen" <janneke@gnu.org>
  3. Date: Wed, 11 May 2022 16:30:52 +0200
  4. Subject: [PATCH] REMOVEME mingw: Hardcode compile-time-file-name-convention to
  5. 'mingw.
  6. FIXME Apply this patch only when compiling for mingw.
  7. Temporary hack until we have a proper fix to determine
  8. compile-time-file-name-convention
  9. * module/ice-9/boot-9.scm (compile-time-file-name-convention): Hardcode
  10. to 'mingw instead of 'posix.
  11. ---
  12. module/ice-9/boot-9.scm | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
  15. index 198a887c1..c024cc095 100644
  16. --- a/module/ice-9/boot-9.scm
  17. +++ b/module/ice-9/boot-9.scm
  18. @@ -2062,7 +2062,7 @@ non-locally, that exit determines the continuation."
  19. (eval-when (eval)
  20. (define (compile-time-file-name-convention)
  21. - (let ((target (or "FIXME" ((@ (system base target) target-type)))))
  22. + (let ((target (or "mingw" "FIXME" ((@ (system base target) target-type)))))
  23. (cond ((equal? target %host-type)
  24. (system-file-name-convention))
  25. ((string-contains-ci target "mingw")
  26. --
  27. 2.35.1