Check-in [7f3a9411cf]
Overview
Comment:Added patch for all versions of Tcl to fix issue with Tcl_StatBuf affecting Tcl 8.5.2+ through current fossil trunk tip
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7f3a9411cf458262329853472d9f768671561c0c
User & Date: rkeene on 2012-02-14 15:58:08
Other Links: manifest | tags
Context
2012-02-14
16:09
Added android build support to test infrastructure check-in: 4ded39fb86 user: rkeene tags: trunk
15:58
Added patch for all versions of Tcl to fix issue with Tcl_StatBuf affecting Tcl 8.5.2+ through current fossil trunk tip check-in: 7f3a9411cf user: rkeene tags: trunk
15:57
Updated autoconf helper scripts check-in: a3c60c5f6b user: rkeene tags: trunk
Changes

Modified tcl/build.sh from [08c07cb4da] to [584ff7bf52].

124
125
126
127
128
129
130
131

132
133
134
135
136
137
138
124
125
126
127
128
129
130

131
132
133
134
135
136
137
138







-
+







	else
		cp -rp ../buildsrc/* './'
	fi

	cd "${BUILDDIR}" || exit 1

	# Apply patches if needed
	for patch in "${PATCHDIR}/all"/tcl-${TCLVERS}-*.diff "${PATCHDIR}/${TCLVERS}"/tcl-${TCLVERS}-*.diff; do
	for patch in "${PATCHDIR}/all"/tcl-${TCLVERS}-*.diff "${PATCHDIR}/all"/tcl-all-*.diff "${PATCHDIR}/${TCLVERS}"/tcl-${TCLVERS}-*.diff; do
		if [ ! -f "${patch}" ]; then
			continue
		fi
                
		echo "Applying: ${patch}"
		${PATCH:-patch} -p1 < "${patch}"
	done

Added tcl/patches/all/tcl-all-fix-stat64-bug2233954.diff version [9cb1e47485].














1
2
3
4
5
6
7
8
9
10
11
12
13
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -uNr Tcl_Source_Code-e7b4aca82756056a/generic/tcl.h Tcl_Source_Code-e7b4aca82756056a-bug2233954/generic/tcl.h
--- Tcl_Source_Code-e7b4aca82756056a/generic/tcl.h	2012-02-11 07:44:35.000000000 -0800
+++ Tcl_Source_Code-e7b4aca82756056a-bug2233954/generic/tcl.h	2012-02-14 07:29:01.000000000 -0800
@@ -437,6 +437,9 @@
  */
 #   ifndef TCL_LL_MODIFIER
 #      ifdef HAVE_STRUCT_STAT64
+#        ifdef HAVE_SYS_STAT_H
+#          include <sys/stat.h>
+#        endif
 typedef struct stat64	Tcl_StatBuf;
 #      else
 typedef struct stat	Tcl_StatBuf;