Ported to OpenBSD/x86.

This commit is contained in:
jjgarcia 2005-11-08 13:17:52 +00:00
parent 81e472b860
commit 80f5b2bf3b
4 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,10 @@
ECL 0.9h
========
* Platforms:
- Ported to OpenBSD/x86. Might also work on other architectures.
* Errors fixed:
- The garbage collection of FASL files had been deactivated by the use of

1
src/aclocal.m4 vendored
View file

@ -211,6 +211,7 @@ case "${host_os}" in
clibs=""
;;
openbsd*)
enable_boehm=no
thehost='openbsd'
SHARED_LDFLAGS="-shared ${LDFLAGS}"
BUNDLE_LDFLAGS="-shared ${LDFLAGS}"

View file

@ -2821,7 +2821,7 @@ ecl_make_stream_from_fd(cl_object fname, int fd, enum ecl_smmode smm)
stream->stream.object1 = fname; /* not really used */
stream->stream.int0 = stream->stream.int1 = 0;
#if !defined(GBC_BOEHM)
fp->_IO_buf_base = NULL; /* BASEFF */;
setbuf(fp, NULL);
setbuf(fp, stream->stream.buffer = cl_alloc_atomic(BUFSIZ));
#endif
stream->stream.char_stream_p = 1;

1
src/configure vendored
View file

@ -3525,6 +3525,7 @@ case "${host_os}" in
clibs=""
;;
openbsd*)
enable_boehm=no
thehost='openbsd'
SHARED_LDFLAGS="-shared ${LDFLAGS}"
BUNDLE_LDFLAGS="-shared ${LDFLAGS}"