aboutsummaryrefslogtreecommitdiff
path: root/development/tclvfs/patches
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 07:56:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 08:00:02 +0700
commit67e0d8e392486e4d1b7337ebfeafab762f1b77e0 (patch)
tree84d18a4b9458e34f098745777c64e0836d2c8a72 /development/tclvfs/patches
parentaf0d46f56525b895c7809f423ff79f2e19817770 (diff)
development/tclvfs: Add upstream patch to work with tcl 8.6
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/tclvfs/patches')
-rw-r--r--development/tclvfs/patches/07-vfs.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/development/tclvfs/patches/07-vfs.patch b/development/tclvfs/patches/07-vfs.patch
new file mode 100644
index 0000000000000..42b30eb60d458
--- /dev/null
+++ b/development/tclvfs/patches/07-vfs.patch
@@ -0,0 +1,22 @@
+--- tclvfs-1.3-20080503.orig/generic/vfs.c 2006/08/30 19:38:03 1.60
++++ tclvfs-1.3-20080503/generic/vfs.c 2008/10/10 21:57:36 1.61
+@@ -39,6 +39,10 @@
+ #define TCL_GLOB_TYPE_MOUNT (1<<7)
+ #endif
+
++#ifndef CONST86
++#define CONST86
++#endif
++
+ /*
+ * Only the _Init function is exported.
+ */
+@@ -1656,7 +1660,7 @@
+ return returnVal;
+ }
+
+-static CONST char**
++static CONST char * CONST86 *
+ VfsFileAttrStrings(pathPtr, objPtrRef)
+ Tcl_Obj* pathPtr;
+ Tcl_Obj** objPtrRef;