summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-03-27 03:38:20 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-03-27 03:38:20 +0000
commitc08febfde93055be2c9c681493f46c2f9341e5e5 (patch)
tree4590bba31c7e3871bd31fe0b032c25947103bd0d /sci-mathematics/gretl
parentAdd multilib support. (diff)
downloadgentoo-2-c08febfde93055be2c9c681493f46c2f9341e5e5.tar.gz
gentoo-2-c08febfde93055be2c9c681493f46c2f9341e5e5.tar.bz2
gentoo-2-c08febfde93055be2c9c681493f46c2f9341e5e5.zip
Fix for readline 6.3, thanks Helmut Jarausch bug #505886
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-mathematics/gretl')
-rw-r--r--sci-mathematics/gretl/ChangeLog6
-rw-r--r--sci-mathematics/gretl/files/gretl-1.9.14-readline.patch10
-rw-r--r--sci-mathematics/gretl/gretl-1.9.14.ebuild6
-rw-r--r--sci-mathematics/gretl/metadata.xml10
4 files changed, 25 insertions, 7 deletions
diff --git a/sci-mathematics/gretl/ChangeLog b/sci-mathematics/gretl/ChangeLog
index b9c0232d86af..66333e5def71 100644
--- a/sci-mathematics/gretl/ChangeLog
+++ b/sci-mathematics/gretl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/gretl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.44 2014/02/06 18:20:49 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/ChangeLog,v 1.45 2014/03/27 03:38:20 bicatali Exp $
+
+ 27 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/gretl-1.9.14-readline.patch, gretl-1.9.14.ebuild, metadata.xml:
+ Fix for readline 6.3, thanks Helmut Jarausch bug #505886
*gretl-1.9.14 (06 Feb 2014)
diff --git a/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch b/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch
new file mode 100644
index 000000000000..9f6996b9c916
--- /dev/null
+++ b/sci-mathematics/gretl/files/gretl-1.9.14-readline.patch
@@ -0,0 +1,10 @@
+--- cli/complete.c.ORIG 2007-08-22 16:44:46.000000000 +0200
++++ cli/complete.c 2014-03-26 16:54:40.463070119 +0100
+@@ -126,6 +126,6 @@
+ rl_readline_name = "gretl";
+
+ /* Tell the completer that we want a crack first. */
+- rl_attempted_completion_function = (CPPFunction *) gretl_completion;
++ rl_attempted_completion_function = (rl_completion_func_t*) gretl_completion;
+ }
+
diff --git a/sci-mathematics/gretl/gretl-1.9.14.ebuild b/sci-mathematics/gretl/gretl-1.9.14.ebuild
index f7b90c0a69dd..6fc0f9bf46ab 100644
--- a/sci-mathematics/gretl/gretl-1.9.14.ebuild
+++ b/sci-mathematics/gretl/gretl-1.9.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.14.ebuild,v 1.1 2014/02/06 18:20:49 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gretl/gretl-1.9.14.ebuild,v 1.2 2014/03/27 03:38:20 bicatali Exp $
EAPI=5
@@ -54,6 +54,10 @@ pkg_setup() {
fi
}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-readline.patch
+}
+
src_configure() {
econf \
--disable-rpath \
diff --git a/sci-mathematics/gretl/metadata.xml b/sci-mathematics/gretl/metadata.xml
index 5f2eb1ff0372..9f556c0545d7 100644
--- a/sci-mathematics/gretl/metadata.xml
+++ b/sci-mathematics/gretl/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-mathematics</herd>
- <longdescription lang="en">
+<herd>sci-mathematics</herd>
+<longdescription lang="en">
GNU Regression, Econometrics and Time-series Library provides
a library which comprises various functions relating to econometric
estimation, a command-line client program and a GUI. The library is
@@ -14,7 +14,7 @@
data, and uses gnuplot for graphing. It can output regression results
in LaTeX format.
</longdescription>
- <use>
- <flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag>
- </use>
+<use>
+ <flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag>
+</use>
</pkgmetadata>