Check-in [7f3a9411cf]
Overview
SHA1:7f3a9411cf458262329853472d9f768671561c0c
Date: 2012-02-14 15:58:08
User: rkeene
Comment:Added patch for all versions of Tcl to fix issue with Tcl_StatBuf affecting Tcl 8.5.2+ through current fossil trunk tip
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2012-02-14
16:09
[4ded39fb86] Added android build support to test infrastructure (user: rkeene, tags: trunk)
15:58
[7f3a9411cf] Added patch for all versions of Tcl to fix issue with Tcl_StatBuf affecting Tcl 8.5.2+ through current fossil trunk tip (user: rkeene, tags: trunk)
15:57
[a3c60c5f6b] Updated autoconf helper scripts (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
	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
		if [ ! -f "${patch}" ]; then
			continue
		fi
                
		echo "Applying: ${patch}"
		${PATCH:-patch} -p1 < "${patch}"
	done







|







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}/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;