From c3f4bcb616140027d10326794ce5eb3aa4235785 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 20 Feb 2010 13:31:09 +1300 Subject: [PATCH] Fix load errors exposed by platforms.txt change --- basis/cocoa/callbacks/callbacks.factor | 4 ++-- basis/io/backend/unix/multiplexers/select/select.factor | 7 ++++--- basis/unix/utmpx/macosx/macosx.factor | 2 +- basis/unix/utmpx/utmpx.factor | 6 ++++-- extra/io/serial/unix/unix.factor | 4 ++-- extra/qtkit/qtkit.factor | 5 +++-- 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/basis/cocoa/callbacks/callbacks.factor b/basis/cocoa/callbacks/callbacks.factor index e1ec43f1dc..87b5f628a9 100644 --- a/basis/cocoa/callbacks/callbacks.factor +++ b/basis/cocoa/callbacks/callbacks.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2005, 2006 Kevin Reid. ! See http://factorcode.org/license.txt for BSD license. -USING: assocs kernel namespaces cocoa cocoa.classes -cocoa.subclassing debugger ; +USING: alien.c-types assocs kernel namespaces cocoa +cocoa.classes cocoa.runtime cocoa.subclassing debugger ; IN: cocoa.callbacks SYMBOL: callbacks diff --git a/basis/io/backend/unix/multiplexers/select/select.factor b/basis/io/backend/unix/multiplexers/select/select.factor index f2d1a3a3b7..5a3dab4dcc 100644 --- a/basis/io/backend/unix/multiplexers/select/select.factor +++ b/basis/io/backend/unix/multiplexers/select/select.factor @@ -1,8 +1,9 @@ ! Copyright (C) 2004, 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: alien.c-types kernel bit-arrays sequences assocs unix -math namespaces accessors math.order locals unix.time fry -io.ports io.backend.unix io.backend.unix.multiplexers ; +USING: alien.c-types kernel bit-arrays sequences assocs math +namespaces accessors math.order locals fry io.ports +io.backend.unix io.backend.unix.multiplexers unix unix.ffi +unix.time ; IN: io.backend.unix.multiplexers.select TUPLE: select-mx < mx read-fdset write-fdset ; diff --git a/basis/unix/utmpx/macosx/macosx.factor b/basis/unix/utmpx/macosx/macosx.factor index 92a0d9e3a4..faae29ffa4 100644 --- a/basis/unix/utmpx/macosx/macosx.factor +++ b/basis/unix/utmpx/macosx/macosx.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: alien.syntax unix.bsd.macosx ; +USING: alien.syntax unix.ffi.bsd.macosx ; IN: unix.utmpx.macosx ! empty diff --git a/basis/unix/utmpx/utmpx.factor b/basis/unix/utmpx/utmpx.factor index 6083776fc6..78556ab225 100644 --- a/basis/unix/utmpx/utmpx.factor +++ b/basis/unix/utmpx/utmpx.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types alien.data alien.syntax combinators continuations io.encodings.string io.encodings.utf8 kernel -sequences strings unix calendar system accessors unix.time -calendar.unix vocabs.loader classes.struct ; +sequences strings calendar system accessors unix unix.time +unix.ffi calendar.unix vocabs.loader classes.struct ; IN: unix.utmpx CONSTANT: EMPTY 0 @@ -19,6 +19,8 @@ CONSTANT: ACCOUNTING 9 CONSTANT: SIGNATURE 10 CONSTANT: SHUTDOWN_TIME 11 +C-TYPE: utmpx + FUNCTION: void setutxent ( ) ; FUNCTION: void endutxent ( ) ; FUNCTION: utmpx* getutxent ( ) ; diff --git a/extra/io/serial/unix/unix.factor b/extra/io/serial/unix/unix.factor index 8ee115ca45..6c0de55ec8 100644 --- a/extra/io/serial/unix/unix.factor +++ b/extra/io/serial/unix/unix.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.syntax alien.data classes.struct combinators io.ports io.streams.duplex -system kernel math math.bitwise vocabs.loader unix io.serial -io.serial.unix.termios io.backend.unix ; +system kernel math math.bitwise vocabs.loader io.serial +io.serial.unix.termios io.backend.unix unix unix.ffi ; IN: io.serial.unix << { diff --git a/extra/qtkit/qtkit.factor b/extra/qtkit/qtkit.factor index b573cd51ab..919e0d2d29 100644 --- a/extra/qtkit/qtkit.factor +++ b/extra/qtkit/qtkit.factor @@ -1,5 +1,6 @@ -USING: classes.struct cocoa cocoa.application cocoa.classes -cocoa.enumeration cocoa.plists core-foundation.strings kernel ; +USING: alien.c-types classes.struct cocoa cocoa.application +cocoa.classes cocoa.enumeration cocoa.plists core-foundation +core-foundation.strings kernel ; IN: qtkit STRUCT: QTTime