[slime-devel] Patch to support CMUCL x86-darwin

Jon Allen Boone ipmonger at delamancha.org
Fri Jul 27 22:33:14 UTC 2007


Folks,

   CMUCL now has an x86-Darwin port as well as the PPC-Darwin  
version.  Here is a patch that conditionalizes on the presence of  
darwin instead of ppc so that slime works with both Darwin versions  
of CMUCL.

diff -u -r1.170 swank-cmucl.lisp
--- swank-cmucl.lisp    10 Jan 2007 23:53:47 -0000      1.170
+++ swank-cmucl.lisp    27 Jul 2007 22:17:24 -0000
@@ -76,7 +76,7 @@
  (defimplementation preferred-communication-style ()
    :sigio)

-#-(or ppc mips)
+#-(or darwin mips)
  (defimplementation create-socket (host port)
    (let* ((addr (resolve-hostname host))
           (addr (if (not (find-symbol "SOCKET-ERROR" :ext))
@@ -85,7 +85,7 @@
      (ext:create-inet-listener port :stream :reuse-address t :host  
addr)))

  ;; There seems to be a bug in create-inet-listener on Mac/OSX and  
Irix.
-#+(or ppc mips)
+#+(or darwin mips)
  (defimplementation create-socket (host port)
    (declare (ignore host))
    (ext:create-inet-listener port :stream :reuse-address t))




More information about the slime-devel mailing list