summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2012-02-13 13:41:36 +0000
committerAndrey Grozin <grozin@gentoo.org>2012-02-13 13:41:36 +0000
commit6f0490fa313462185b77cc04e7137ed7cbccdee6 (patch)
tree6ef40b0226e10e39ba8a53afe67b54c35c9a0b0e /sci-mathematics
parentsparc stable (bug 400535) (diff)
downloadgentoo-2-6f0490fa313462185b77cc04e7137ed7cbccdee6.tar.gz
gentoo-2-6f0490fa313462185b77cc04e7137ed7cbccdee6.tar.bz2
gentoo-2-6f0490fa313462185b77cc04e7137ed7cbccdee6.zip
Fix building with ecls-12.2.1
(Portage version: 2.2.0_alpha86/cvs/Linux i686)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/maxima/ChangeLog8
-rw-r--r--sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch8
-rw-r--r--sci-mathematics/maxima/maxima-5.26.0.ebuild7
3 files changed, 19 insertions, 4 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog
index 75d95e43ece9..712017e2e1bb 100644
--- a/sci-mathematics/maxima/ChangeLog
+++ b/sci-mathematics/maxima/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/maxima
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.94 2011/12/21 07:25:58 grozin Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.95 2012/02/13 13:41:36 grozin Exp $
+
+ 13 Feb 2012; Andrey Grozin <grozin@gentoo.org> maxima-5.26.0.ebuild,
+ +files/maxima-5.26.0-ecls-12.2.1.patch:
+ Fix building with ecls-12.2.1
*maxima-5.26.0 (21 Dec 2011)
diff --git a/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch b/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch
new file mode 100644
index 000000000000..4fde880acf03
--- /dev/null
+++ b/sci-mathematics/maxima/files/maxima-5.26.0-ecls-12.2.1.patch
@@ -0,0 +1,8 @@
+diff -r -U1 maxima-5.26.0.orig/src/numerical/slatec/xerprn.lisp maxima-5.26.0/src/numerical/slatec/xerprn.lisp
+--- maxima-5.26.0.orig/src/numerical/slatec/xerprn.lisp 2011-08-01 11:39:52.000000000 +0700
++++ maxima-5.26.0/src/numerical/slatec/xerprn.lisp 2012-02-13 18:49:21.000000000 +0700
+@@ -20,3 +20,3 @@
+ (let* ((newlin "$$"))
+- (declare (type (simple-array character (2)) newlin) (ignorable newlin))
++ (declare (ignorable newlin))
+ (defun xerprn (prefix npref messg nwrap)
diff --git a/sci-mathematics/maxima/maxima-5.26.0.ebuild b/sci-mathematics/maxima/maxima-5.26.0.ebuild
index 0e23aeb88d79..4d5be82648ba 100644
--- a/sci-mathematics/maxima/maxima-5.26.0.ebuild
+++ b/sci-mathematics/maxima/maxima-5.26.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.26.0.ebuild,v 1.1 2011/12/21 07:25:58 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.26.0.ebuild,v 1.2 2012/02/13 13:41:36 grozin Exp $
EAPI=3
@@ -117,6 +117,9 @@ src_prepare() {
# fix LDFLAGS handling in ecl (#378195)
epatch "${FILESDIR}"/${PN}-ecl-ldflags.patch
+ # fix the ecls-12.2.1 build
+ epatch "${FILESDIR}"/${P}-ecls-12.2.1.patch
+
# bug #343331
rm share/Makefile.in || die
rm src/Makefile.in || die