kumquat-buildroot/support/dependencies
Peter Korsgaard 42f61e759a support/scripts/apply-patches.sh: do not blindly remove *.orig files
apply-patches currently blindly removes *.orig / .*.orig files as GNU patch
by default writes these as backup files when patches only apply with fuzz.

This is unfortunate as package sources may contain files ending in .orig as
well, breaking the build.  Luckily GNU patch can be told to not write these
backup files using the --no-backup-if-mismatch option, so used that instead
of the .orig removal step.

--no-backup-if-mismatch is supported since GNU patch 2.3.8 (1997-06-17) and
busybox patch if built with CONFIG_DESKTOP, but E.G.  isn't supported by the
BSD patch, so add logic to dependencies.sh to error out if patch doesn't
support the flag.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-10-06 23:40:25 +02:00
..
check-host-asciidoc.sh manual generation: check dependencies first 2013-11-01 16:41:04 +01:00
check-host-bison-flex.mk support/dependencies: check for system-provided bison and flex 2018-08-20 16:01:42 +02:00
check-host-cmake.mk support/dependencies: set cmake version min to 3.10 2019-10-28 23:01:47 +01:00
check-host-cmake.sh core: allow check-host-cmake.sh to try several candidates 2017-06-24 21:25:45 +02:00
check-host-coreutils.mk core/dependencies: check if we need to build our own host-coreutils 2020-01-06 21:43:38 +01:00
check-host-coreutils.sh core/dependencies: check if we need to build our own host-coreutils 2020-01-06 21:43:38 +01:00
check-host-gzip.mk support/dependencies: add a check for a suitable gzip 2018-11-24 15:14:58 +01:00
check-host-gzip.sh support/dependencies: add a check for a suitable gzip 2018-11-24 15:14:58 +01:00
check-host-lzip.mk package/pkg-utils.mk: rework implementation of extractor-system-dependency 2019-12-17 22:09:48 +01:00
check-host-lzip.sh package: add generic support for lz archives 2017-02-15 22:11:11 +01:00
check-host-make.mk make: configure host-make with host- prefix 2018-11-20 08:17:43 +01:00
check-host-make.sh dependencies: host-make version check 2018-09-08 23:36:36 +02:00
check-host-python3.mk support/dependencies: add a check for python3 2019-03-15 22:26:40 +01:00
check-host-python3.sh support/dependencies: add a check for python3 2019-03-15 22:26:40 +01:00
check-host-tar.mk package/pkg-generic: handle host-tar as an extract dependency 2018-03-25 17:43:20 +02:00
check-host-tar.sh support/dependencies: treat BSD-tar like the other cases 2018-11-24 15:14:50 +01:00
check-host-xzcat.mk package/pkg-utils.mk: rework implementation of extractor-system-dependency 2019-12-17 22:09:48 +01:00
check-host-xzcat.sh xzcat: treat as host prerequisite and build if needed 2013-09-06 23:30:36 +02:00
dependencies.mk infra: add force build flag for host dependencies 2019-02-04 15:52:44 +01:00
dependencies.sh support/scripts/apply-patches.sh: do not blindly remove *.orig files 2020-10-06 23:40:25 +02:00