Index: trunk/package/buildpkg.sh =================================================================== --- trunk/package/buildpkg.sh (revision 2477) +++ trunk/package/buildpkg.sh (revision 2478) @@ -173,10 +173,14 @@ $chameleonSubsts $ownSubst" + # HACK: Don't try to substitute in TIFF files! for file in "$@";do - cp -pf "$file" "${file}.in" - sed "$allSubst" "${file}.in" > "${file}" - rm -f "${file}.in" + if [ -z `echo "$file" | grep tiff` ] + then + cp -pf "$file" "${file}.in" + sed "$allSubst" "${file}.in" > "${file}" + rm -f "${file}.in" + fi done } Index: trunk/CHANGES =================================================================== --- trunk/CHANGES (revision 2477) +++ trunk/CHANGES (revision 2478) @@ -1,4 +1,5 @@ - ErmaC : Rename decompress_lzvn function to lzvn_decode follow Apple source name. +- bitshoveler : Fix "sed: RE error: illegal byte sequence", which turns out to be from feeding sed a TIFF file (buildpkg.sh) - bitshoveler : Make some constant arrays static; other minor fixes (acpi_patcher.c) - bitshoveler : Make 'buffer' arg to aml_add_buffer 'const char *', was just 'char *' (aml_generator) - bitshoveler : Various fixes to problems exposed by Clang static analyzer (picopng.c)