SHA256
1
0
forked from pool/guile
guile/guile-threads-test.patch
Dominique Leuenberger 81765c6962 Accepting request 580975 from home:scarabeus_iv:branches:devel:languages:misc
- Add patch from Fedora not to link to libgc in all consumer libs:
  * guile-2.0.14-gc_pkgconfig_private.patch
- Add _constraints file to ensure we can build properly
- Format with spec-cleaner
- Fix build with new glibc 2.27 bsc#1079837:
  * guile-disable-int-tests.patch
- Use %license macro to install license

OBS-URL: https://build.opensuse.org/request/show/580975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=98
2018-02-28 14:15:04 +00:00

18 lines
651 B
Diff

Index: guile-2.0.12/test-suite/tests/threads.test
===================================================================
--- guile-2.0.12.orig/test-suite/tests/threads.test 2016-07-21 14:25:17.426696284 +0200
+++ guile-2.0.12/test-suite/tests/threads.test 2016-07-21 14:25:22.990644750 +0200
@@ -423,8 +423,10 @@
(gc) (gc)
(let ((m (g)))
- (and (mutex? m)
- (eq? (mutex-owner m) (current-thread)))))))
+ (or
+ (and (mutex? m)
+ (eq? (mutex-owner m) (current-thread)))
+ (throw 'unresolved))))))
;;
;; mutex lock levels