File: 0008-Add-usr-share-r6rs-to-the-library-path.patch

package info (click to toggle)
chezscheme 9.5.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 61,640 kB
  • sloc: ansic: 17,508; sh: 759; makefile: 509; csh: 423
file content (22 lines) | stat: -rw-r--r-- 652 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?G=C3=B6ran_Weinholt?= <weinholt@debian.org>
Date: Sat, 5 Sep 2020 21:02:49 +0200
Subject: Add /usr/share/r6rs to the library path

---
 s/syntax.ss | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/s/syntax.ss b/s/syntax.ss
index 75aee67..ed2ac1f 100644
--- a/s/syntax.ss
+++ b/s/syntax.ss
@@ -5653,7 +5653,8 @@
   (set-who! library-directories
     (rec library-directories
       ($make-thread-parameter
-        '(("." . "."))
+        '(("." . ".")
+          ("/usr/share/r6rs" . "/usr/share/r6rs"))
         (lambda (x)
           (cond
             [(string? x) (parse-string x (library-directories) values)]