Subject: CVS commit: pkgsrc/lang/vslisp
To: None <pkgsrc-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: pkgsrc-changes
Date: 03/15/2002 02:22:43
Module Name:	pkgsrc
Committed By:	jmc
Date:		Fri Mar 15 00:22:43 UTC 2002

Modified Files:
	pkgsrc/lang/vslisp: Makefile distinfo
Added Files:
	pkgsrc/lang/vslisp/patches: patch-ac patch-ad patch-ae

Log Message:
Port for powerpc (or any other arch which enforces alignment).

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


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/lang/vslisp/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/lang/vslisp/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/lang/vslisp/patches/patch-ac \
    pkgsrc/lang/vslisp/patches/patch-ad pkgsrc/lang/vslisp/patches/patch-ae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.