summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/tcltk/tk/non-linux.diff')
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/non-linux.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff b/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff
new file mode 100644
index 0000000000..7d31f9fdca
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff
@@ -0,0 +1,27 @@
1Patch by Sergei Golovan (originally by Mike Markley and Chris Waters) fixes
2building on non-linux Debian architectures.
3
4--- tk8.5-8.5.8.orig/unix/configure
5+++ tk8.5-8.5.8/unix/configure
6@@ -4447,6 +4447,9 @@
7 if test "`uname -s`" = "AIX" ; then
8 tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
9 fi
10+ if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
11+ tcl_cv_sys_version=NetBSD-Debian
12+ fi
13 fi
14 fi
15
16--- tk8.5-8.5.8.orig/unix/tcl.m4
17+++ tk8.5-8.5.8/unix/tcl.m4
18@@ -962,6 +962,9 @@
19 if test "`uname -s`" = "AIX" ; then
20 tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
21 fi
22+ if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
23+ tcl_cv_sys_version=NetBSD-Debian
24+ fi
25 fi
26 fi
27 ])