slib-3.2.5-fix-paths.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --- slib-3b5/~RScheme.init 2016-10-10 23:05:39.117046443 +0200
  2. +++ slib-3b5/RScheme.init 2016-10-10 23:06:47.242857550 +0200
  3. @@ -52,7 +52,7 @@
  4. ;; Use this path if your scheme does not support GETENV
  5. ;; or if SCHEME_LIBRARY_PATH is not set.
  6. (case (software-type)
  7. - ((unix) "/usr/lib/slib/")
  8. + ((unix) "/usr/share/slib/")
  9. ((vms) "lib$scheme:")
  10. ((ms-dos) "C:\\SLIB\\")
  11. (else "")))))
  12. --- slib-3b5/~gambit.init 2016-10-10 23:05:20.939634454 +0200
  13. +++ slib-3b5/gambit.init 2016-10-10 23:07:46.571968697 +0200
  14. @@ -38,7 +38,7 @@
  15. (let ((impl-path
  16. (or (getenv "GAMBIT_IMPLEMENTATION_PATH")
  17. (case (software-type)
  18. - ((unix) "/usr/local/share/gambc/")
  19. + ((unix) "/usr/share/gambc/")
  20. ((vms) "scheme$src:")
  21. ((ms-dos) "C:\\scheme\\")
  22. ((windows) "c:/scheme/")
  23. @@ -65,7 +65,7 @@
  24. ;; Use this path if your scheme does not support GETENV
  25. ;; or if SCHEME_LIBRARY_PATH is not set.
  26. (case (software-type)
  27. - ((unix) "/usr/local/lib/slib/")
  28. + ((unix) "/usr/share/slib/")
  29. ((macos) (string-append (implementation-vicinity) "slib:"))
  30. ((amiga) "dh0:scm/Library/")
  31. ((vms) "lib$scheme:")
  32. --- slib-3b5/~guile-2.init 2016-10-10 23:05:46.531807087 +0200
  33. +++ slib-3b5/guile-2.init 2016-10-10 23:08:00.154538349 +0200
  34. @@ -199,7 +199,7 @@
  35. (define implementation-vicinity
  36. (cond ((getenv "GUILE_IMPLEMENTATION_PATH")
  37. => (lambda (path) (lambda () path)))
  38. - (else %site-dir)))
  39. + (else %library-dir)))
  40. ;;; (library-vicinity) should be defined to be the pathname of the
  41. ;;; directory where files of Scheme library functions reside.