Ports: Rename a few .diff files to .patch

Let's keep things consistent, .diff is the name we use pretty much
everywhere. Also tweak the glob in .port_includes.sh to be
'patches/*.patch' rather than just 'patches/*'.
This commit is contained in:
Linus Groh 2021-01-17 08:14:27 +01:00 committed by Andreas Kling
parent 95988b44a0
commit 2bc9726e3c
Notes: sideshowbarker 2024-07-18 23:09:01 +09:00
7 changed files with 1 additions and 1 deletions

View file

@ -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"