summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff')
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff b/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff
new file mode 100644
index 000000000..8cdcf2020
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff
@@ -0,0 +1,43 @@
1Patch by Chris Waters sets path which are normally point to a directory
2with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules
3puts private Tk headers there).
4
5Upstream-Status: Pending
6
7--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in
8+++ tk8.5-8.5.8/unix/tkConfig.sh.in
9@@ -55,7 +55,7 @@
10
11 # String to pass to linker to pick up the Tk library from its
12 # build directory.
13-TK_BUILD_LIB_SPEC='@TK_BUILD_LIB_SPEC@'
14+TK_BUILD_LIB_SPEC='@TK_LIB_SPEC@'
15
16 # String to pass to linker to pick up the Tk library from its
17 # installed directory.
18@@ -71,7 +71,7 @@
19 # different place than the directory containing the source files, this
20 # points to the location of the sources, not the location where Tk was
21 # compiled.
22-TK_SRC_DIR='@TK_SRC_DIR@'
23+TK_SRC_DIR='@includedir@/tk-private'
24
25 # Needed if you want to make a 'fat' shared library library
26 # containing tk objects or link a different wish.
27@@ -86,14 +86,14 @@
28
29 # String to pass to linker to pick up the Tk stub library from its
30 # build directory.
31-TK_BUILD_STUB_LIB_SPEC='@TK_BUILD_STUB_LIB_SPEC@'
32+TK_BUILD_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
33
34 # String to pass to linker to pick up the Tk stub library from its
35 # installed directory.
36 TK_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
37
38 # Path to the Tk stub library in the build directory.
39-TK_BUILD_STUB_LIB_PATH='@TK_BUILD_STUB_LIB_PATH@'
40+TK_BUILD_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'
41
42 # Path to the Tk stub library in the install directory.
43 TK_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'