diff options
Diffstat (limited to 'graphics/aqsis/patches/patch-aq')
-rw-r--r-- | graphics/aqsis/patches/patch-aq | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/aqsis/patches/patch-aq b/graphics/aqsis/patches/patch-aq new file mode 100644 index 00000000000..1e2f0d42843 --- /dev/null +++ b/graphics/aqsis/patches/patch-aq @@ -0,0 +1,24 @@ +$NetBSD: patch-aq,v 1.1 2008/09/01 08:02:23 dholland Exp $ + +--- libri2rib/ascii.cpp~ 2002-03-01 13:58:59.000000000 -0500 ++++ libri2rib/ascii.cpp 2008-09-01 03:45:14.000000000 -0400 +@@ -246,7 +246,8 @@ RtVoid CqASCII::RiObjectEnd( RtVoid ) + } + RtVoid CqASCII::RiObjectInstance( RtObjectHandle handle ) + { +- out << "ObjectInstance " << ( RtInt ) handle << endl; ++ //out << "ObjectInstance " << ( RtInt ) handle << endl; ++ out << "ObjectInstance " << ( intptr_t ) handle << endl; + } + RtVoid CqASCII::RiAttributeBegin( RtVoid ) + { +@@ -461,7 +462,8 @@ RtLightHandle CqASCII::RiAreaLightSource + RtVoid CqASCII::RiIlluminate( RtLightHandle light, RtBoolean onoff ) + { + out << "Illuminate "; +- out << ( RtInt ) light << " "; ++ //out << ( RtInt ) light << " "; ++ out << ( intptr_t ) light << " "; + if ( onoff == RI_TRUE ) + out << "1" << endl; + else |