Tue Oct 28 11:45:12 Eastern Daylight Time 2008  David Sankel <david@sankelsoftware.com>
  * unworkaround the workaround for glutGetProcAddress.

New patches:

[unworkaround the workaround for glutGetProcAddress.
David Sankel <david@sankelsoftware.com>**20081028154512] {
hunk ./Graphics/UI/GLUT/Extensions.hs 45
-foreign import ccall unsafe "hs_GLUT_getProcAddress" hs_GLUT_getProcAddress
+foreign import stdcall unsafe "glutGetProcAddress" hs_GLUT_getProcAddress
hunk ./cbits/HsGLUT.c 47
-/* procName is really a const char*, but currently we can't specify this in
-   Haskell's FFI and consequently get a warning from the C compiler. */
-void*
-hs_GLUT_getProcAddress(char *procName)
-{
-#if (FREEGLUT || GLUT_API_VERSION >= 5)
-#if GLUT_GET_PROC_ADDRESS_IS_BROKEN
-  /* There are a few typos/omissions in freeglut 2.20 */
-  if (strcmp(procName, "glutWireCylinder"         ) == 0) return (void*)glutWireCylinder;
-  if (strcmp(procName, "glutSolidCylinder"        ) == 0) return (void*)glutSolidCylinder;
-  if (strcmp(procName, "glutWireSierpinskiSponge" ) == 0) return (void*)glutWireSierpinskiSponge;
-  if (strcmp(procName, "glutSolidSierpinskiSponge") == 0) return (void*)glutSolidSierpinskiSponge;
-#endif
-  return glutGetProcAddress(procName);
-#else
-  return (void*)0;
-#endif
-}
-
}

Context:

[delete config.mk, a relic of the old GHC build system
Ross Paterson <ross@soi.city.ac.uk>**20080825003728] 
[TAG GHC 6.8.3 release
Ian Lynagh <igloo@earth.li>**20080619124350] 
[TAG 2008-06-06
Ian Lynagh <igloo@earth.li>**20080605235620] 
Patch bundle hash:
407f7c14a3e969e48e999bb262c07101792afb31
