diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index a1b2498d18..55158e3275 100755 --- a/Ports/.port_include.sh +++ b/Ports/.port_include.sh @@ -138,7 +138,7 @@ fetch() { func_defined patch_internal || patch_internal() { # patch if it was not yet patched (applying patches multiple times doesn't work!) if [ -d patches ]; then - for filepath in patches/*; do + for filepath in patches/*.patch; do filename=$(basename $filepath) if [ ! -f "$workdir"/.${filename}_applied ]; then run patch -p"$patchlevel" < "$filepath" diff --git a/Ports/rsync/patches/config.sub.diff b/Ports/rsync/patches/config.sub.patch similarity index 100% rename from Ports/rsync/patches/config.sub.diff rename to Ports/rsync/patches/config.sub.patch diff --git a/Ports/stress-ng/patches/0001-build-sytem-patch.diff b/Ports/stress-ng/patches/0001-build-sytem-patch.patch similarity index 100% rename from Ports/stress-ng/patches/0001-build-sytem-patch.diff rename to Ports/stress-ng/patches/0001-build-sytem-patch.patch diff --git a/Ports/stress-ng/patches/0002-missing-types-and-functionality.diff b/Ports/stress-ng/patches/0002-missing-types-and-functionality.patch similarity index 100% rename from Ports/stress-ng/patches/0002-missing-types-and-functionality.diff rename to Ports/stress-ng/patches/0002-missing-types-and-functionality.patch diff --git a/Ports/stress-ng/patches/0003-missing-networking-functionality.diff b/Ports/stress-ng/patches/0003-missing-networking-functionality.patch similarity index 100% rename from Ports/stress-ng/patches/0003-missing-networking-functionality.diff rename to Ports/stress-ng/patches/0003-missing-networking-functionality.patch diff --git a/Ports/stress-ng/patches/0004-memory-related.diff b/Ports/stress-ng/patches/0004-memory-related.patch similarity index 100% rename from Ports/stress-ng/patches/0004-memory-related.diff rename to Ports/stress-ng/patches/0004-memory-related.patch diff --git a/Ports/stress-ng/patches/0005-misc-fixups.diff b/Ports/stress-ng/patches/0005-misc-fixups.patch similarity index 100% rename from Ports/stress-ng/patches/0005-misc-fixups.diff rename to Ports/stress-ng/patches/0005-misc-fixups.patch