From 024affdb19e486c0101a3df033a34061528794c7 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sun, 30 Mar 2025 01:15:53 +0000 Subject: [PATCH] patch: update to 2.8 Changes in version 2.8: * The --follow-symlinks option now applies to output files as well as input. * 'patch' now supports file timestamps after 2038 even on traditional GNU/Linux platforms where time_t defaults to 32 bits. * 'patch' no longer creates files with names containing newlines, as encouraged by POSIX.1-2024. * Patches can no longer contain NUL ('\0') bytes in diff directive lines. These bytes would otherwise cause unpredictable behavior. * Patches can now contain sequences of spaces and tabs around line numbers and in other places where POSIX requires support for these sequences. * --enable-gcc-warnings no longer uses expensive static checking. Use --enable-gcc-warnings=expensive if you still want it. * Fix undefined or ill-defined behavior in unusual cases, such as very large sizes, possible stack overflow, I/O errors, memory exhaustion, races with other processes, and signals arriving at inopportune moments. * Remove old "Plan B" code, designed for machines with 16-bit pointers. * Assume C99 or later; previously it assumed C89 or later. * Port to current GCC, Autoconf, Gnulib, etc. --- .../addon-depends/system-tools-depends/patch/package.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/addons/addon-depends/system-tools-depends/patch/package.mk b/packages/addons/addon-depends/system-tools-depends/patch/package.mk index 105378219c..93ac7625e6 100644 --- a/packages/addons/addon-depends/system-tools-depends/patch/package.mk +++ b/packages/addons/addon-depends/system-tools-depends/patch/package.mk @@ -2,10 +2,10 @@ # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="patch" -PKG_VERSION="2.7.6" -PKG_SHA256="ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd" +PKG_VERSION="2.8" +PKG_SHA256="f87cee69eec2b4fcbf60a396b030ad6aa3415f192aa5f7ee84cad5e11f7f5ae3" PKG_LICENSE="GPL" -PKG_SITE="http://savannah.gnu.org/projects/patch/" +PKG_SITE="https://savannah.gnu.org/projects/patch" PKG_URL="https://ftpmirror.gnu.org/patch/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="Patch takes a patch file containing a difference listing produced by the diff."