public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/tk707/, media-sound/tk707/files/
@ 2018-10-21 15:17 Pacho Ramos
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2018-10-21 15:17 UTC (permalink / raw
  To: gentoo-commits

commit:     0bda35b5eef6f82734f0bb7ba3adc020af248a90
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 21 15:13:08 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 21 15:17:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bda35b5

media-sound/tk707: Fix build with glibc-2.27

Thanks-to: Peter Levine
Thanks-to: Toralf Förster
Closes: https://bugs.gentoo.org/648308
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-sound/tk707/files/tk707-0.8-glibc-2.27.patch | 18 ++++++++++
 media-sound/tk707/tk707-0.8-r2.ebuild              | 42 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/media-sound/tk707/files/tk707-0.8-glibc-2.27.patch b/media-sound/tk707/files/tk707-0.8-glibc-2.27.patch
new file mode 100644
index 00000000000..5a2c09bb704
--- /dev/null
+++ b/media-sound/tk707/files/tk707-0.8-glibc-2.27.patch
@@ -0,0 +1,18 @@
+Bug: https://bugs.gentoo.org/648308
+
+--- a/tk707AppInit.c
++++ b/tk707AppInit.c
+@@ -31,13 +31,6 @@
+ extern int Init_tk707(Tcl_Interp *interp);
+ extern int Init_tk707_Scripts(Tcl_Interp *interp);
+ 
+-/*
+- * The following variable is a special hack that is needed in order for
+- * Sun shared libraries to be used for Tcl.
+- */
+-
+-int *tclDummyMathPtr = (int *) matherr;
+-
+ #ifdef TK_TEST
+ extern int		Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
+ #endif /* TK_TEST */

diff --git a/media-sound/tk707/tk707-0.8-r2.ebuild b/media-sound/tk707/tk707-0.8-r2.ebuild
new file mode 100644
index 00000000000..03b31573728
--- /dev/null
+++ b/media-sound/tk707/tk707-0.8-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools desktop
+
+DESCRIPTION=" An 7x7 type midi drum sequencer for Linux"
+HOMEPAGE="http://www-ljk.imag.fr/membres/Pierre.Saramito/tk707/"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+	mirror://gentoo/${P}-updated_tcl2c.patch.gz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+RDEPEND="
+	>=media-libs/alsa-lib-0.9.0
+	>=dev-lang/tcl-8.4:0=
+	>=dev-lang/tk-8.4:0=
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${WORKDIR}/${P}-updated_tcl2c.patch"
+	"${FILESDIR}/${P}-asneeded.patch"
+	"${FILESDIR}/${P}-nostrip.patch"
+	"${FILESDIR}/${P}-glibc-2.27.patch"
+)
+
+src_prepare() {
+	default
+	mv configure.in configure.ac || die
+	eautoreconf
+}
+
+src_install() {
+	HTML_DOCS="tk707.html" default
+	rm -rf "${ED}"/usr/share/html/
+	make_desktop_entry "${PN}"
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-21 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-21 15:17 [gentoo-commits] repo/gentoo:master commit in: media-sound/tk707/, media-sound/tk707/files/ Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox