
Due to some minor changes in the standard library module Foreign, compiling HOpenGL 1.04 doesn't work out out of the box with GHC 6.x anymore: GL.hs:34: Conflicting exports for `rotate': `module GL_CoordTrans' exports `GL_CoordTrans.rotate' imported from GL_CoordTrans at GL.hs:78 `module GL_Marshal' exports `Data.Bits.rotate' imported from GL_Marshal at GL.hs:120 But this can easily be fixed by the following patch: --SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP-- --- HOpenGL-1.04.orig/lib/GL_Marshal.hs 2002-12-29 22:38:00.000000000 +0100 +++ HOpenGL-1.04/lib/GL_Marshal.hs 2003-06-29 13:56:44.000000000 +0200 @@ -62,7 +62,7 @@ module CString ) where -import Foreign +import Foreign hiding ( Bits(..) ) import CString(CString, newCString, peekCString, withCString) ---------------------------------------------------------------------- --SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP----SNIP-- Thanks to Tim Rädisch for pointing this out. Cheers, S.