summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \