xref: /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff (revision 8460358c3d24c71d9d38fd126c745854a6301564)
1*8460358cSPatrick WilliamsPatch by Chris Waters sets path which are normally point to a directory
2*8460358cSPatrick Williamswith Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules
3*8460358cSPatrick Williamsputs private Tk headers there).
4*8460358cSPatrick Williams
5*8460358cSPatrick WilliamsUpstream-Status: Pending
6*8460358cSPatrick Williams
7*8460358cSPatrick Williams--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in
8*8460358cSPatrick Williams+++ tk8.5-8.5.8/unix/tkConfig.sh.in
9*8460358cSPatrick Williams@@ -55,7 +55,7 @@
10*8460358cSPatrick Williams
11*8460358cSPatrick Williams # String to pass to linker to pick up the Tk library from its
12*8460358cSPatrick Williams # build directory.
13*8460358cSPatrick Williams-TK_BUILD_LIB_SPEC='@TK_BUILD_LIB_SPEC@'
14*8460358cSPatrick Williams+TK_BUILD_LIB_SPEC='@TK_LIB_SPEC@'
15*8460358cSPatrick Williams
16*8460358cSPatrick Williams # String to pass to linker to pick up the Tk library from its
17*8460358cSPatrick Williams # installed directory.
18*8460358cSPatrick Williams@@ -71,7 +71,7 @@
19*8460358cSPatrick Williams # different place than the directory containing the source files, this
20*8460358cSPatrick Williams # points to the location of the sources, not the location where Tk was
21*8460358cSPatrick Williams # compiled.
22*8460358cSPatrick Williams-TK_SRC_DIR='@TK_SRC_DIR@'
23*8460358cSPatrick Williams+TK_SRC_DIR='@includedir@/tk-private'
24*8460358cSPatrick Williams
25*8460358cSPatrick Williams # Needed if you want to make a 'fat' shared library library
26*8460358cSPatrick Williams # containing tk objects or link a different wish.
27*8460358cSPatrick Williams@@ -86,14 +86,14 @@
28*8460358cSPatrick Williams
29*8460358cSPatrick Williams # String to pass to linker to pick up the Tk stub library from its
30*8460358cSPatrick Williams # build directory.
31*8460358cSPatrick Williams-TK_BUILD_STUB_LIB_SPEC='@TK_BUILD_STUB_LIB_SPEC@'
32*8460358cSPatrick Williams+TK_BUILD_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
33*8460358cSPatrick Williams
34*8460358cSPatrick Williams # String to pass to linker to pick up the Tk stub library from its
35*8460358cSPatrick Williams # installed directory.
36*8460358cSPatrick Williams TK_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
37*8460358cSPatrick Williams
38*8460358cSPatrick Williams # Path to the Tk stub library in the build directory.
39*8460358cSPatrick Williams-TK_BUILD_STUB_LIB_PATH='@TK_BUILD_STUB_LIB_PATH@'
40*8460358cSPatrick Williams+TK_BUILD_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'
41*8460358cSPatrick Williams
42*8460358cSPatrick Williams # Path to the Tk stub library in the install directory.
43*8460358cSPatrick Williams TK_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'
44