File tree Expand file tree Collapse file tree 4 files changed +19
-2
lines changed
Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,19 @@ downloads/
22archives /
33* .orig
44* .swp
5+ venv * /
6+ .venv /
57
68# lib_check downloads these
79* -stamp
10+ arch_tmp /
811arb * /
912bzip2 * /
1013cfitsio /
1114flex * /
1215freetype * /
1316giflib * /
17+ harfbuzz * /
1418hdf5 * /
1519jpeg * /
1620lcms2 * /
Original file line number Diff line number Diff line change @@ -290,11 +290,11 @@ function fetch_unpack {
290290 rsync --delete -ah * ..)
291291
292292 # If a patch exists, apply it
293- if [ -e " ${PATCH_DIR} /${name} - ${version } .patch" ]; then
293+ if [ -e " $( pwd ) / $ {PATCH_DIR} /${archive_fname } .patch" ]; then
294294 # The arch_tmp folder will contain the name of folder that was just
295295 # unpacked from the archive. Apply the patch in that directory.
296296 local package_dir=$( ls -1c arch_tmp)
297- patch --force -i " ${PATCH_DIR} /${name} - ${version } .patch" -d $package_dir
297+ patch --force -i " $( pwd ) / $ {PATCH_DIR} /${archive_fname } .patch" -d $package_dir
298298 fi
299299}
300300
Original file line number Diff line number Diff line change 1+ # This is a completely cosmetic patch to validate that source patching works as expected.
2+ #
3+ diff -ur harfbuzz-2.7.4-orig/README harfbuzz-2.7.4/README
4+ --- harfbuzz-2.7.4-orig/README 2024-12-12 09:23:15
5+ +++ harfbuzz-2.7.4/README 2024-12-12 09:23:02
6+ @@ -13,3 +13,5 @@
7+ For test execution, see https://github.com/harfbuzz/harfbuzz/blob/master/TESTING.md
8+
9+ Documentation: https://harfbuzz.github.io
10+ +
11+ + Harfbuzz has been patched by multibuild
Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ source tests/utils.sh
2121
2222start_spinner
2323
24+ PATCH_DIR=tests/patches
2425fetch_unpack https://github.com/harfbuzz/harfbuzz/releases/download/2.7.4/harfbuzz-2.7.4.tar.xz
2526[ -d harfbuzz-2.7.4 ] || ingest " .tar.xz should have been unpacked"
27+ [ -n " $( grep ' Harfbuzz has been patched by multibuild' harfbuzz-2.7.4/README) " ] || ingest " Harfbuzz should have been patched"
2628
2729suppress build_bzip2
2830suppress build_openssl
You can’t perform that action at this time.
0 commit comments