3804345481
This code was assuming it could copy double's in/out of char *'s with just casts and normal copies. This blows up on anything which enforces alignments. Change the generic case for the ATOM to just have a special double field. For the serialization routines memcpy the double in and provide a union to memcpy it out to that also contains a single double value. This ensures alignment is correct and it won't SIGBUS anymore. Bump pkg to nb1
27 lines
806 B
Makefile
27 lines
806 B
Makefile
# $NetBSD: Makefile,v 1.7 2002/03/15 00:22:42 jmc Exp $
|
|
|
|
DISTNAME= vslisp-4.0-1
|
|
PKGNAME= vslisp-4.0.1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://vslisp.sourceforge.net/pub/vslisp/
|
|
PKGREVISION= 1
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://vslisp.sourceforge.net/
|
|
COMMENT= Embeddable Lisp library and standalone interpreter
|
|
|
|
WRKSRC= ${WRKDIR}/vslisp-4.0
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vslisp
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vslisp/html
|
|
@for d in Colors.txt ColorsDemo.txt lisp.sgml ; do \
|
|
${INSTALL_DATA} ${WRKSRC}/Documentation/$$d \
|
|
${PREFIX}/share/doc/vslisp; done
|
|
${INSTALL_DATA} ${WRKSRC}/Documentation/html/* \
|
|
${PREFIX}/share/doc/vslisp/html
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|