Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: pkgsrc-changes
Date: 04/02/2001 23:16:43
Module Name:	pkgsrc
Committed By:	wrstuden
Date:		Mon Apr  2 20:16:43 UTC 2001

Modified Files:
	pkgsrc/graphics/clanlib/files: patch-sum
Added Files:
	pkgsrc/graphics/clanlib/patches: patch-ak

Log Message:
Fix big-endian support. Problem was that the targa code would load a
little-endian short into an int, then byteswap the int. That's essentially
le32toh() when it should be le16toh(). This ended up in making numbers
0x10000 times too big. Also got rid of a potential unaligned-access.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 pkgsrc/graphics/clanlib/files/patch-sum
cvs rdiff -r0 -r1.3 pkgsrc/graphics/clanlib/patches/patch-ak

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