From 50d8b351de04895ed22b5b2ff4720b9f5bfe28b0 Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 2 Apr 2008 21:43:17 -0500 Subject: [PATCH 1/2] fix using --- extra/openal/macosx/macosx.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/openal/macosx/macosx.factor b/extra/openal/macosx/macosx.factor index c03ad5693c..d2a0422d8d 100644 --- a/extra/openal/macosx/macosx.factor +++ b/extra/openal/macosx/macosx.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types kernel alien alien.syntax shuffle -combinators.lib openal.backend namespaces ; +combinators.lib openal.backend namespaces system ; IN: openal.macosx LIBRARY: alut From 0cf667859af5a6cb823127539303d3e56e5c371c Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 3 Apr 2008 00:59:20 -0500 Subject: [PATCH 2/2] fix random on openbsd --- extra/random/unix/unix.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/random/unix/unix.factor b/extra/random/unix/unix.factor index 3be2697bdf..6a72baa21b 100644 --- a/extra/random/unix/unix.factor +++ b/extra/random/unix/unix.factor @@ -15,7 +15,7 @@ C: unix-random M: unix-random random-bytes* ( n tuple -- byte-array ) path>> file-read-unbuffered ; -os "openbsd" = [ +os openbsd? [ [ "/dev/srandom" secure-random-generator set-global "/dev/prandom" insecure-random-generator set-global