summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/gnu-smalltalk/files/gnu-smalltalk-3.2_use-result.patch4
-rw-r--r--dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild13
2 files changed, 8 insertions, 9 deletions
diff --git a/dev-lang/gnu-smalltalk/files/gnu-smalltalk-3.2_use-result.patch b/dev-lang/gnu-smalltalk/files/gnu-smalltalk-3.2_use-result.patch
index b9f9eb67c75f..7f3fb907d895 100644
--- a/dev-lang/gnu-smalltalk/files/gnu-smalltalk-3.2_use-result.patch
+++ b/dev-lang/gnu-smalltalk/files/gnu-smalltalk-3.2_use-result.patch
@@ -1,5 +1,5 @@
---- config.h.in 2013-04-07 22:52:21.000000000 -0700
-+++ config.h.in 2016-06-20 16:46:46.560891256 -0700
+--- a/config.h.in
++++ b/config.h.in
@@ -879,6 +879,13 @@
#define below would cause a syntax error. */
#undef _UINT64_T
diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild
index 6fe332837688..00461089e252 100644
--- a/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild
+++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=6
-inherit elisp-common flag-o-matic eutils multilib
+inherit elisp-common flag-o-matic
DESCRIPTION="GNU Smalltalk"
HOMEPAGE="http://smalltalk.gnu.org"
@@ -29,11 +29,10 @@ S="${WORKDIR}/smalltalk-${PV}"
SITEFILE=50gnu-smalltalk-gentoo.el
-src_prepare() {
+PATCHES=(
# fix misuse of the Tcl API, bug 492710
- epatch "${FILESDIR}"/${PN}-3.2_use-result.patch
- default
-}
+ "${FILESDIR}"/${PN}-3.2_use-result.patch
+)
src_configure() {
replace-flags '-O3' '-O2'