Simplify patching ing mingw-w64-qt5-base*
This commit is contained in:
parent
b873f93ca8
commit
4a37d87b49
|
@ -143,25 +143,12 @@ if ! isDefault; then
|
|||
fi
|
||||
fi
|
||||
|
||||
patch() {
|
||||
local input_found=
|
||||
local patch_file=
|
||||
for arg in $@; do
|
||||
if [[ $input_found ]]; then
|
||||
patch_file="$arg"
|
||||
break
|
||||
fi
|
||||
[[ $arg == -i ]] && input_found=1
|
||||
done
|
||||
msg2 "Applying patch $patch_file"
|
||||
/usr/bin/patch $@
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
# apply patches; further descriptions can be found in patch files itself
|
||||
for patch in "$srcdir/"*.patch; do
|
||||
msg2 "Applying patch $patch"
|
||||
patch -p1 -i "$patch"
|
||||
done
|
||||
|
||||
|
|
|
@ -143,25 +143,12 @@ if ! isDefault; then
|
|||
fi
|
||||
fi
|
||||
|
||||
patch() {
|
||||
local input_found=
|
||||
local patch_file=
|
||||
for arg in $@; do
|
||||
if [[ $input_found ]]; then
|
||||
patch_file="$arg"
|
||||
break
|
||||
fi
|
||||
[[ $arg == -i ]] && input_found=1
|
||||
done
|
||||
msg2 "Applying patch $patch_file"
|
||||
/usr/bin/patch $@
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
# apply patches; further descriptions can be found in patch files itself
|
||||
for patch in "$srcdir/"*.patch; do
|
||||
msg2 "Applying patch $patch"
|
||||
patch -p1 -i "$patch"
|
||||
done
|
||||
|
||||
|
|
|
@ -143,25 +143,12 @@ if ! isDefault; then
|
|||
fi
|
||||
fi
|
||||
|
||||
patch() {
|
||||
local input_found=
|
||||
local patch_file=
|
||||
for arg in $@; do
|
||||
if [[ $input_found ]]; then
|
||||
patch_file="$arg"
|
||||
break
|
||||
fi
|
||||
[[ $arg == -i ]] && input_found=1
|
||||
done
|
||||
msg2 "Applying patch $patch_file"
|
||||
/usr/bin/patch $@
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
# apply patches; further descriptions can be found in patch files itself
|
||||
for patch in "$srcdir/"*.patch; do
|
||||
msg2 "Applying patch $patch"
|
||||
patch -p1 -i "$patch"
|
||||
done
|
||||
|
||||
|
|
|
@ -143,25 +143,12 @@ if ! isDefault; then
|
|||
fi
|
||||
fi
|
||||
|
||||
patch() {
|
||||
local input_found=
|
||||
local patch_file=
|
||||
for arg in $@; do
|
||||
if [[ $input_found ]]; then
|
||||
patch_file="$arg"
|
||||
break
|
||||
fi
|
||||
[[ $arg == -i ]] && input_found=1
|
||||
done
|
||||
msg2 "Applying patch $patch_file"
|
||||
/usr/bin/patch $@
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pkgfqn}"
|
||||
|
||||
# apply patches; further descriptions can be found in patch files itself
|
||||
for patch in "$srcdir/"*.patch; do
|
||||
msg2 "Applying patch $patch"
|
||||
patch -p1 -i "$patch"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue