Hi all, I made OpenAL patch almost one year ago. http://www.haskell.org/pipermail/libraries/2005-September/004399.html
Sven merged that ... but He accidentally removed Mac OS X part. I posted again and again when someone can't build under Mac OS X or OpenAL was changed newer version. But His patch check priority is lowest .... and it seems that He fade out development of OpenAL and OpenGL packages current a few months. Now, GHC 6.6 comes and this version bumps OpenAL version, it's good time to apply my patch ... but I don't know how to apply that. (Because I don't have darcs.haskell.org account.) Does anyone apply this patch? I already tested this patch under Windws and other Unix platform. http://www.haskell.org/pipermail/libraries/2006-May/005405.html Best Regards, New patches: [Fix building problem for Mac OS X shelarcy <[EMAIL PROTECTED]>**20060907023009] { hunk ./aclocal.m4 171 + +# FP_CHECK_OPENAL +# ------------- +AC_DEFUN([FP_CHECK_OPENAL], +[AC_REQUIRE([AC_CANONICAL_TARGET]) +AL_CFLAGS= +case $target_os in +darwin*) + AL_LIBS= + AL_FRAMEWORKS=OpenAL + ;; +*) + AC_SEARCH_LIBS([alGenSources], [openal openal32], [AL_LIBS="$ac_cv_search_alGenSources"]) + test x"$AL_LIBS" = x"none required" && AL_LIBS= + AC_SUBST([AL_LIBS]) + AL_FRAMEWORKS= + ;; +esac +AC_SUBST([AL_CFLAGS]) +AC_SUBST([AL_FRAMEWORKS]) +])# FP_CHECK_OPENAL + hunk ./configure.ac 11 -# Shall we build this package at all? -FP_ARG_OPENAL hunk ./configure.ac 13 -if test x"$enable_openal" = xyes; then - hunk ./configure.ac 15 -# The following test for the OpenAL library is a bit of a hack, but gives nice -# feedback even for the case when no additional library is needed. (Mac OS X?) -AL_LIBS=no -AC_SEARCH_LIBS([alGenSources], [openal openal32], [AL_LIBS="$ac_cv_search_alGenSources"]) -test x"$AL_LIBS" = x"none required" && AL_LIBS= -AC_SUBST([AL_LIBS]) +# Shall we build this package at all? +FP_ARG_OPENAL + +if test x"$enable_openal" = xyes; then + +# Check for ALUT include paths and libraries +FP_CHECK_OPENAL hunk ./configure.ac 27 -# Ugly... -AL_FRAMEWORKS= -case $host_os in -darwin*) - AL_FRAMEWORKS=OpenAL - ;; -esac -AC_SUBST([AL_FRAMEWORKS]) - +# check for ALUT include files hunk ./configure.ac 30 -if test -z "$AL_FRAMEWORKS" && test x"$fp_found_al_header$fp_found_alc_header" != xyesyes; then + +if test x"$fp_found_al_header" = xno || test x"$fp_found_alc_header" = xno; then hunk ./configure.ac 185 -*-mingw32) CALLCONV=stdcall ;; +# WinDoze DLL hell +# NOTE: For some obscure/unknown reason, OpenAL uses ccall, even on WinDoze... +# *-mingw32) CALLCONV=stdcall ;; } Context: [includes -> install-includes Ross Paterson <[EMAIL PROTECTED]>**20060829123744] [exclude Setup.hs even if not building package Ross Paterson <[EMAIL PROTECTED]>**20060825222702] [exclude Setup.hs from build Ross Paterson <[EMAIL PROTECTED]>**20060824183534] [add boilerplate Setup.hs Ross Paterson <[EMAIL PROTECTED]>**20060824115102] [add files used by configure Ross Paterson <[EMAIL PROTECTED]>**20060518174356] [Fixed bug #715 (OpenAL package fails to compile with older headers) Sven Panne <[EMAIL PROTECTED]>**20060507164755] [TAG Initial conversion from CVS complete John Goerzen <[EMAIL PROTECTED]>**20060112154136] Patch bundle hash: f96adc3351c29eb8bdee0deeebd721ee8c0812a1 -- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
