aboutsummaryrefslogtreecommitdiffstats
path: root/main/tcl/tcl-stat64.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-20 14:12:34 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-20 14:13:06 +0000
commit1248355b4aa388274049dd00290701d2d7895ec1 (patch)
tree2970ff4d6ae04d8a75a25a239b5cbbc2e6d00042 /main/tcl/tcl-stat64.patch
parent7592439604e9c54892319b61862cebbb3e61b1b4 (diff)
downloadaports-1248355b4aa388274049dd00290701d2d7895ec1.tar.bz2
aports-1248355b4aa388274049dd00290701d2d7895ec1.tar.xz
main/tcl: fix build against musl
Diffstat (limited to 'main/tcl/tcl-stat64.patch')
-rw-r--r--main/tcl/tcl-stat64.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/tcl/tcl-stat64.patch b/main/tcl/tcl-stat64.patch
new file mode 100644
index 0000000000..388d79ac01
--- /dev/null
+++ b/main/tcl/tcl-stat64.patch
@@ -0,0 +1,11 @@
+--- tcl8.6.0.org/generic/tcl.h
++++ tcl8.6.0/generic/tcl.h
+@@ -17,6 +17,8 @@
+ #ifndef _TCL
+ #define _TCL
+
++#include <sys/stat.h>
++
+ /*
+ * For C++ compilers, use extern "C"
+ */