[cells-devel] PATCH: cells_2.0 clisp support tweak
Martin Dengler
martin at martindengler.com
Tue Oct 16 05:06:34 UTC 2007
Hi,
I'm using clisp 2.41[1] and had to comment out three lines of (seems like now-unnecessary) code to get cells to asdf-install:install; here is a patch against the released version (the CVS repo links on the cells website are broken, and I couldn't guess any valid ones).
It's tiny, so probably has already been fixed better in CVS, but JIC/FWIW:
--- detritus.lisp~ 2005-05-02 20:37:22.000000000 +0100
+++ detritus.lisp 2007-10-16 05:39:00.000000000 +0100
@@ -26,9 +26,9 @@
`(let ((*dbg* t))
, at body))
-#+clisp
-(defun slot-definition-name (slot)
- (clos::slotdef-name slot))
+;#+clisp
+;(defun slot-definition-name (slot)
+; (clos::slotdef-name slot))
;;;(defmethod class-slot-named ((classname symbol) slotname)
;;; (class-slot-named (find-class classname) slotname))
--- defpackage.lisp~ 2005-05-02 20:36:31.000000000 +0100
+++ defpackage.lisp 2007-10-16 05:39:06.000000000 +0100
@@ -41,6 +41,6 @@
#:make-fifo-queue #:fifo-add #:fifo-empty #:fifo-pop #:mapfifo
#-mcl #:true
- #+clisp #:slot-definition-name
+; #+clisp #:slot-definition-name
#+(and mcl (not openmcl-partial-mop)) #:class-slots
))
Martin
PS - For the record, I also had the problem mentioned here: http://www.interactivecode.com/googles-summer-code-17/cells-under-lispworks-35096/ with asdf-install. I can install cl-ppcre and some other packages fine, but not cells. asdf-install isn't putting the symlink to the .asd file in the correct directory, so I'm having to add the cells_2.0 download directory to *central-registry* explicitly.
1. Full version info for clisp:
$ /usr/bin/clisp --version
GNU CLISP 2.41 (2006-10-13) (built on hammer3.fedora.redhat.com)
Software: GNU C 4.1.1 20061011 (Red Hat 4.1.1-30)
gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -I. -x none libcharset.a libavcall.a libcallback.a /usr/lib64/libreadline.so -Wl,-rpath -Wl,/usr/lib64 -ltermcap -ldl -L/usr/lib64 -lsigsegv -R/usr/lib64 -L/usr/lib64
SAFETY=0 TYPECODES WIDE GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
libsigsegv 2.4
libreadline 5.1
Features:
(READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP
LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI
GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX)
C Modules: (clisp i18n syscalls regexp readline)
Installation directory: /usr/lib64/clisp/
User language: ENGLISH
Machine: X86_64 (X86_64) cree.xades.com [127.0.0.1]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cells-devel/attachments/20071016/7a5b0acd/attachment.sig>
More information about the cells-devel
mailing list