--- /dev/null
+--- ghc-6.12.3/aclocal.m4~ 2011-02-27 11:48:59.360195820 +0100
++++ ghc-6.12.3/aclocal.m4 2011-02-27 12:02:13.969509541 +0100
+@@ -123,7 +123,7 @@
+ # A variation of AC_CHECK_SIZEOF for computing the alignment restrictions of a
+ # given type. Defines ALIGNMENT_TYPE.
+ AC_DEFUN([FP_CHECK_ALIGNMENT],
+-[AS_LITERAL_IF([$1], [],
++[AS_LITERAL_IF(m4_translit([[$1]], [*], [p]), [],
+ [AC_FATAL([$0: requires literal arguments])])[]dnl
+ AC_CHECK_TYPE([$1], [], [], [$3])[]dnl
+ m4_pushdef([fp_Cache], [AS_TR_SH([fp_cv_alignment_$1])])[]dnl
Summary(pl.UTF-8): System kompilacji Glasgow Haskell
Name: ghc
Version: 6.12.3
-Release: 4
+Release: 5
License: BSD-like w/o adv. clause
Group: Development/Languages
Source0: http://darcs.haskell.org/download/dist/%{version}/%{name}-%{version}-src.tar.bz2
%endif
Patch0: %{name}-pld.patch
Patch1: %{name}-pkgdir.patch
+Patch2: %{name}-build.patch
URL: http://haskell.org/ghc/
BuildRequires: OpenAL-devel
BuildRequires: OpenGL-GLU-devel
%endif
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__autoconf}