pkgsrc/graphics/aqsis/patches/patch-ao
dholland 3785074b02 Fix some 64-bit issues. Package still doesn't build; there's a problem with
a template function that either means the thing never built at all or that
some incomprehensible C++ thing is going on, and I'm not sure which it is.
2008-09-01 08:02:23 +00:00

13 lines
626 B
Text

$NetBSD: patch-ao,v 1.1 2008/09/01 08:02:23 dholland Exp $
--- filebuffer/filebuffer.cpp~ 2002-05-21 06:47:26.000000000 -0400
+++ filebuffer/filebuffer.cpp 2008-09-01 03:28:56.000000000 -0400
@@ -171,7 +171,7 @@ TqInt Close( SOCKET s, SqDDMessageBase*
#else
sprintf( version, "%s %s", STRNAME, VERSION );
#endif
- TIFFSetField( pOut, TIFFTAG_SOFTWARE, ( uint32 ) version );
+ TIFFSetField( pOut, TIFFTAG_SOFTWARE, version );
TIFFSetField( pOut, TIFFTAG_IMAGEWIDTH, ( uint32 ) XRes );
TIFFSetField( pOut, TIFFTAG_IMAGELENGTH, ( uint32 ) YRes );
TIFFSetField( pOut, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT );