+++ /dev/null
---- a/config.h.in
-+++ b/config.h.in
-@@ -879,6 +879,13 @@
- #define below would cause a syntax error. */
- #undef _UINT64_T
-
-+/* Kludgey fix for Gentoo bug #492710, caused by improper use of the Tcl API.
-+ * Upstream should be using Tcl_SetObjResult, Tcl_GetObjResult, and/or
-+ * Tcl_GetStringResult. This is the simplest way for us to fix it, and should
-+ * be removed as soon as GST uses the Tcl interface correctly.
-+ */
-+#define USE_INTERP_RESULT 1
-+
- /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
- <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
- #define below would cause a syntax error. */
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit elisp-common flag-o-matic
-
-DESCRIPTION="GNU Smalltalk"
-HOMEPAGE="http://smalltalk.gnu.org"
-SRC_URI="mirror://gnu/smalltalk/smalltalk-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="tk readline emacs gtk gmp"
-
-DEPEND="app-arch/zip
- sys-libs/gdbm
- sys-apps/debianutils
- dev-libs/libsigsegv
- virtual/libffi
- emacs? ( virtual/emacs )
- readline? ( sys-libs/readline )
- tk? ( dev-lang/tk )
- gtk? ( =x11-libs/gtk+-2* )
- gmp? ( dev-libs/gmp )"
-RDEPEND=""
-
-S="${WORKDIR}/smalltalk-${PV}"
-
-SITEFILE=50gnu-smalltalk-gentoo.el
-
-PATCHES=(
- # fix misuse of the Tcl API, bug 492710
- "${FILESDIR}"/${PN}-3.2_use-result.patch
-)
-
-src_configure() {
- replace-flags '-O3' '-O2'
- econf \
- --libdir=/usr/$(get_libdir) \
- --with-system-libsigsegv \
- --with-system-libffi \
- --with-system-libltdl \
- $(use_with emacs emacs) \
- $(use_with readline readline) \
- $(use_with gmp gmp) \
- $(use_with tk tcl /usr/$(get_libdir)) \
- $(use_with tk tk /usr/$(get_libdir)) \
- $(use_enable gtk gtk)
-}
-
-src_compile() {
- emake || die "emake failed"
- use emacs && elisp-compile *.el
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
- if use emacs; then
- elisp-install "${PN}" *.el *.elc
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
- fperms 0444 /usr/share/smalltalk/packages.xml
- # Fix QA notice complaining about dangling symlink.
- # There's probably a better way to do this but I couldn't find it.
- pushd "${D}"/usr/share/man/man1
- rm gst-reload.1
- ln -s $(find . -name "gst-load*") gst-reload.1
- popd
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <longdescription>
- GNU Smalltalk is a free implementation of the Smalltalk-80
- language which runs on most versions on Unix and, in general,
- everywhere you can find a POSIX-compliance library. An uncommon
- feature of it is that it is well-versed to scripting tasks and
- headless processing.
- </longdescription>
-</pkgmetadata>
# Replaced by libunibreak and no reverse deps (#640974). Removal in a month.
dev-libs/liblinebreak
-# Pacho Ramos <pacho@gentoo.org> (11 Nov 2018)
-# Fails at runtime (#645690). Removal in a month.
-dev-lang/gnu-smalltalk
-
# Pacho Ramos <pacho@gentoo.org> (11 Nov 2018)
# Fails to build (#662000), not compatible with kernel-4, use kernel driver rtsx_pci
# instead. Removal in a month.