support/dependencies, scripts: accept patches with renames
authorRyota Kinukawa <pojiro.jp@gmail.com>
Wed, 19 May 2021 03:28:48 +0000 (12:28 +0900)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 19 May 2021 06:33:11 +0000 (08:33 +0200)
commitf46e13f05fa04a180a416876cf1dd4252dd841ad
tree0563149d8e9e19ba3c847d4a192aaf5cb46a3212
parentd69d40c029dc7d8199b745eaee759d92b66c5d17
support/dependencies, scripts: accept patches with renames

Currently, patches with renames are refused, as they reqire patch 2.7
or newer. So far, we did not require that version because it was too
recent to be widely available.

But patch 2.7 has been released in 2012, almost 9 years ago now; it is
old enough that we can start relying on it.

Add a check that patch is GNU patch 2.7 or newer, and so drop the common
check for patch, and drop the check about renames in apply-patches.sh.

Signed-off-by: Ryota Kinukawa <pojiro.jp@gmail.com>
[yann.morin.1998@free.fr:
  - drop common check
  - shorten variable names
  - drop now-incorrect comment about busybox w/desktop
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/dependencies/dependencies.sh
support/scripts/apply-patches.sh