Check-in [cbeb10f53c]
Overview
Comment:Updated patching of TclVFS to work with newer versions (addresses [468f6f72ea])
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:cbeb10f53ca37ea6c3619dc4a2171836a4175fea
User & Date: rkeene on 2016-09-07 14:10:38
Other Links: manifest | tags
Context
2016-09-07
14:15
Updated to continue if configure fails building Tk (bug [f75d036a14]) check-in: 67d6bb3e7c user: rkeene tags: trunk
14:10
Updated patching of TclVFS to work with newer versions (addresses [468f6f72ea]) check-in: cbeb10f53c user: rkeene tags: trunk
14:02
Migrated tclvfs build to new build system check-in: f2e60e1015 user: rkeene tags: trunk
Changes

Modified common/common.sh from [7120afe5b5] to [5226117d88].

   120    120   
   121    121   	return 0
   122    122   }
   123    123   
   124    124   function apply_patches() {
   125    125   	local patch
   126    126   
   127         -	for patch in "${patchdir}/all"/${pkg}-${version}-*.diff "${patchdir}/${TCL_VERSION}"/${pkg}-${version}-*.diff; do
          127  +	for patch in "${patchdir}/all"/${pkg}-${version}-*.diff "${patchdir}/${TCL_VERSION}"/${pkg}-${version}-*.diff "${patchdir}"/*.diff; do
   128    128   		if [ ! -f "${patch}" ]; then
   129    129   			continue
   130    130   		fi
          131  +
          132  +		if [ -x "${patch}.sh" ]; then
          133  +			if ! "${patch}.sh" "${TCL_VERSION}" "${pkg}" "${version}"; then
          134  +				continue
          135  +			fi
          136  +		fi
   131    137   
   132    138   		echo "Applying: ${patch}"
   133    139   		( cd "${workdir}" && ${PATCH:-patch} -p1 ) < "${patch}" || return 1
   134    140   	done
   135    141   
   136    142   	return 0
   137    143   }

Name change from tclvfs/patches/all/tclvfs-20080503-alwaysstatic.diff to tclvfs/patches/tclvfs-20080503-alwaysstatic.diff.

whitespace changes only

Name change from tclvfs/patches/8.6/tclvfs-20080503-compilewithcvs.diff to tclvfs/patches/tclvfs-20080503-compilewithcvs.diff.

whitespace changes only

Added tclvfs/patches/tclvfs-20080503-compilewithcvs.diff.sh version [ba29d162f3].

            1  +#! /usr/bin/env bash
            2  +
            3  +tclVersion="$1"
            4  +pkg="$2"
            5  +pkgVersion="$3"
            6  +
            7  +case "${tclVersion}" in
            8  +	8.[012345]|8.[012345].*)
            9  +		exit 1
           10  +		;;
           11  +esac
           12  +
           13  +exit 0

Name change from tclvfs/patches/8.6/tclvfs-20080503-fixbug81845.diff to tclvfs/patches/tclvfs-20080503-fixbug81845.diff.

whitespace changes only

Name change from tclvfs/patches/all/tclvfs-20080503-fixinternalrepuse.diff to tclvfs/patches/tclvfs-20080503-fixinternalrepuse.diff.

whitespace changes only

Name change from tclvfs/patches/all/tclvfs-20080503-includestat.diff to tclvfs/patches/tclvfs-20080503-includestat.diff.

whitespace changes only

Name change from tclvfs/patches/8.6/tclvfs-20080503-supportnativezlib.diff to tclvfs/patches/tclvfs-20080503-supportnativezlib.diff.

whitespace changes only

Added tclvfs/patches/tclvfs-20080503-supportnativezlib.diff.sh version [ba29d162f3].

            1  +#! /usr/bin/env bash
            2  +
            3  +tclVersion="$1"
            4  +pkg="$2"
            5  +pkgVersion="$3"
            6  +
            7  +case "${tclVersion}" in
            8  +	8.[012345]|8.[012345].*)
            9  +		exit 1
           10  +		;;
           11  +esac
           12  +
           13  +exit 0

Name change from tclvfs/patches/all/tclvfs-20080503-zipvfs.diff to tclvfs/patches/tclvfs-20080503-zipvfs.diff.

whitespace changes only