summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-01-17 12:28:06 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-01-17 12:28:57 +0100
commitd6f8deb9c030e91f540e34615cdc04199333b50e (patch)
treeceed58eb00992624cce221091d0a416c44ce7dd1 /dev-tcltk
parentsys-apps/irqbalance: keyword 1.9.2 for ~riscv (diff)
downloadgentoo-d6f8deb9c030e91f540e34615cdc04199333b50e.tar.gz
gentoo-d6f8deb9c030e91f540e34615cdc04199333b50e.tar.bz2
gentoo-d6f8deb9c030e91f540e34615cdc04199333b50e.zip
dev-tcltk/tcl3d: fix undeclared function
Closes: https://bugs.gentoo.org/880821 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tcl3d/files/tcl3d-0.5.0-implicit.patch10
-rw-r--r--dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild7
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-tcltk/tcl3d/files/tcl3d-0.5.0-implicit.patch b/dev-tcltk/tcl3d/files/tcl3d-0.5.0-implicit.patch
new file mode 100644
index 000000000000..bdd02a0fbf50
--- /dev/null
+++ b/dev-tcltk/tcl3d/files/tcl3d-0.5.0-implicit.patch
@@ -0,0 +1,10 @@
+--- a/tcl3dOgl/swigfiles/tcl3dOgl.i 2023-01-17 12:19:29.845765609 +0100
++++ b/tcl3dOgl/swigfiles/tcl3dOgl.i 2023-01-17 12:21:51.336490329 +0100
+@@ -31,6 +31,7 @@
+
+ %{
+ #include <tk.h>
++#include "Togl/togl.h"
+ %}
+
+ %init %{
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index 7a07697e35ae..870f791b448b 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -29,7 +29,10 @@ DEPEND="${RDEPEND}
app-arch/unzip"
S="${WORKDIR}/${PN}"
-PATCHES=( "${FILESDIR}/${P}-include-tk-dir-and-permissive.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-include-tk-dir-and-permissive.patch"
+ "${FILESDIR}/${P}-implicit.patch"
+)
src_prepare() {
sed -i \