The current release does not support the new API of PROJ (>=8.0.0);
included patch aims to solve the issue.
Conditional make_build_args prevents crossbuilding with failing ninja
("unknown target LINK=${XBPS_CROSS_TRIPLET}-c++").
I suspect that this approach is a relique of the past and therefore is
removed from the template.
No other issues did arise due to this change.
This is a workaround to make sure glibc gets updated before other
packages.
dash was updated recently and it is earlier in the alphabetical order compared
to glibc, so it got updated sooner than diffutils which has an INSTALL shell
script which fails because the shell interpreter - dash expects the
newer glibc version than what's available at that time.
The primary reason for updating this package is due to the following
CVEs being found and fixed:
* CVE-2022-35977 (Integer overflow in the Redis SETRANGE and
SORT/SORT_RO commands can drive Redis to OOM panic)
* CVE-2023-22458 (Integer overflow in the Redis HRANDFIELD and
ZRANDMEMBER commands can lead to denial-of-service)
The rest is as follows:
* jemalloc-devel and libatomic-devel now are included conditionally.
* antirez/redis has been moved to redis/redis (antirez stepped down in
2020 and handed over his work to his colleagues).
* do_check can be executed by setting make_check_target to "test".
* V=1 is retained in make_build_args; MALLOC is defined outside the
removed do_build function.
* the "-ldl" flag in use-system-jemalloc.patch is no longer necessary
since it is already defined in src/Makefile; see
redis/redis@b7b9aa6d9b
* do_configure is renamed to post_patch as its contents fit the
latter's purpose.