From b8edff9ab6eec7d2f977275c80fecfb21e4f1fc1 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 13 Sep 2010 18:20:56 +0000 Subject: Fixed configure regeneration failure (bug #337025) Package-Manager: portage-2.1.8.3/cvs/Linux x86_64 --- .../ghc/files/ghc-6.12.3-autoconf-2.66-4252.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dev-lang/ghc/files/ghc-6.12.3-autoconf-2.66-4252.patch (limited to 'dev-lang/ghc/files') diff --git a/dev-lang/ghc/files/ghc-6.12.3-autoconf-2.66-4252.patch b/dev-lang/ghc/files/ghc-6.12.3-autoconf-2.66-4252.patch new file mode 100644 index 000000000000..7341ca35c97a --- /dev/null +++ b/dev-lang/ghc/files/ghc-6.12.3-autoconf-2.66-4252.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/show_bug.cgi?id=337025 +http://hackage.haskell.org/trac/ghc/ticket/4252 +Mon Aug 16 17:24:42 EEST 2010 Ross Paterson + * fix FP_CHECK_ALIGNMENT for autoconf 2.66 (fixes #4252) + + Recent versions of AS_LITERAL_IF don't like *'s. Fix from + + http://blog.gmane.org/gmane.comp.sysutils.autoconf.general/month=20100701 +diff -rN -u old-ghc/aclocal.m4 new-ghc/aclocal.m4 +--- old-ghc/aclocal.m4 2010-09-13 21:00:36.288338228 +0300 ++++ new-ghc/aclocal.m4 2010-09-13 21:00:37.209338228 +0300 +@@ -141,7 +141,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 -- cgit v1.2.3-65-gdbad