http://bugs.winehq.org/show_bug.cgi?id=9676
--- Comment #5 from daniel oberhoff daniel@danieloberhoff.de 2007-09-15 17:24:24 --- sorry, wrong file...
but anyhow, I moved it to the list as suggested. I assumed it was ok to send patches here since there is an explicit "append patch" checkbox :).
The errors are about a redundant (at least here) typedef to an undefined type (->error) and usage of texture rectangle extensions through _NV constants which are equivalent to _EXT constants on osx (where the _NV ones are undefined). Fixed it through a conditional redefinition of the NV constants (i.e. when the are undefined).