summaryrefslogtreecommitdiffstats
path: root/development/tclvfs/patches/07-vfs.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 07:56:26 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-18 08:00:02 +0700
commit67e0d8e392486e4d1b7337ebfeafab762f1b77e0 (patch)
tree84d18a4b9458e34f098745777c64e0836d2c8a72 /development/tclvfs/patches/07-vfs.patch
parentaf0d46f56525b895c7809f423ff79f2e19817770 (diff)
downloadslackbuilds-67e0d8e392486e4d1b7337ebfeafab762f1b77e0.tar.gz
slackbuilds-67e0d8e392486e4d1b7337ebfeafab762f1b77e0.tar.xz
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/07-vfs.patch')
-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 0000000000..42b30eb60d
--- /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;