Files
racket/racket-doc.patch
Fred Fu 47e8c5195b - Update to 8.15. Changes down below:
* Documentation search results are ordered, with visual cues
    indicating what their source is (core, main-distribution, etc.).
  * DrRacket offers to restore previously open files when starting,
    which can be made the default.
  * In DrRacket, Picts can be saved by right-clicking.
    raco pkg introduces the uninstall command as the opposite of
    install. The remove name for this functionality is retained for
    compatibility.
  * raco pkg improves the handling of --clone and --unclone.
  * iOS is a compilation target, distinct from macOS.
  * Racket supports falling back to IPv4 during hostname resolution when IPv6 fails.
  * Memory allocated using the ffi/unsafe library can be initially zeroed,
    using the 'zeroed-atomic and 'zeroed-atomic-interior flags.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=91
2024-12-01 15:12:56 +00:00

17 lines
680 B
Diff

---
share/pkgs/scribble-lib/help/search.rkt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- share/pkgs/scribble-lib/help/search.rkt
+++ share/pkgs/scribble-lib/help/search.rkt
@@ -47,7 +47,8 @@
;; Doesn't exist, but notify and then fall back below:
(build-path (find-doc-dir) sub)))
(notify path)
- (if (file-exists? path)
+ (if (and (file-exists? path)
+ (file-exists? (build-path (find-doc-dir) "docindex.sqlite")))
(send-url/file path #:fragment fragment #:query query)
(let ([part (lambda (pfx x) (if x (string-append pfx x) ""))])
(send-url (string-append