diff options
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch')
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch index e9b679361f..9c2d379611 100644 --- a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch +++ b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch | |||
@@ -4,7 +4,7 @@ Index: unix/Makefile.in | |||
4 | =================================================================== | 4 | =================================================================== |
5 | --- unix.orig/Makefile.in | 5 | --- unix.orig/Makefile.in |
6 | +++ unix/Makefile.in | 6 | +++ unix/Makefile.in |
7 | @@ -619,20 +619,20 @@ ro-test: tcltest@EXEEXT@ | 7 | @@ -619,13 +619,13 @@ ro-test: tcltest@EXEEXT@ |
8 | shell: ${TCL_EXE} | 8 | shell: ${TCL_EXE} |
9 | @LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | 9 | @LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ |
10 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | 10 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ |
@@ -19,16 +19,8 @@ Index: unix/Makefile.in | |||
19 | + $(GDB) ${TCL_EXE} --command=gdb.run | 19 | + $(GDB) ${TCL_EXE} --command=gdb.run |
20 | rm gdb.run | 20 | rm gdb.run |
21 | 21 | ||
22 | # This target can be used to run tclsh inside ddd | ||
23 | ddd: ${TCL_EXE} | ||
24 | @echo "set env @LD_LIBRARY_PATH_VAR@=\"`pwd`:$${@LD_LIBRARY_PATH_VAR@}\"" > gdb.run | ||
25 | @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run | ||
26 | - $(DDD) -command=gdb.run ./${TCL_EXE} | ||
27 | + $(DDD) -command=gdb.run ${TCL_EXE} | ||
28 | rm gdb.run | ||
29 | |||
30 | VALGRINDARGS=--tool=memcheck --num-callers=8 --leak-resolution=high --leak-check=yes --show-reachable=yes -v | 22 | VALGRINDARGS=--tool=memcheck --num-callers=8 --leak-resolution=high --leak-check=yes --show-reachable=yes -v |
31 | @@ -645,7 +645,7 @@ valgrind: ${TCL_EXE} tcltest@EXEEXT@ | 23 | @@ -638,7 +638,7 @@ valgrind: ${TCL_EXE} tcltest@EXEEXT@ |
32 | valgrindshell: ${TCL_EXE} | 24 | valgrindshell: ${TCL_EXE} |
33 | @LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | 25 | @LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ |
34 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | 26 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ |
@@ -37,7 +29,7 @@ Index: unix/Makefile.in | |||
37 | 29 | ||
38 | # The following target outputs the name of the top-level source directory for | 30 | # The following target outputs the name of the top-level source directory for |
39 | # Tcl (it is used by Tk's configure script, for example). The .NO_PARALLEL | 31 | # Tcl (it is used by Tk's configure script, for example). The .NO_PARALLEL |
40 | @@ -809,14 +809,14 @@ install-tzdata: ${TCL_EXE} | 32 | @@ -802,14 +802,14 @@ install-tzdata: ${TCL_EXE} |
41 | @echo "Installing time zone data" | 33 | @echo "Installing time zone data" |
42 | @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | 34 | @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ |
43 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | 35 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ |
@@ -54,7 +46,7 @@ Index: unix/Makefile.in | |||
54 | $(TOP_DIR)/library/msgs "$(SCRIPT_INSTALL_DIR)"/msgs | 46 | $(TOP_DIR)/library/msgs "$(SCRIPT_INSTALL_DIR)"/msgs |
55 | 47 | ||
56 | install-doc: doc | 48 | install-doc: doc |
57 | @@ -1756,7 +1756,7 @@ html-tk: ${TCL_EXE} | 49 | @@ -1730,7 +1730,7 @@ html-tk: ${TCL_EXE} |
58 | BUILD_HTML = \ | 50 | BUILD_HTML = \ |
59 | @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ | 51 | @@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \ |
60 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ | 52 | TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ |