Hello, This patch updates GNU Rush to its latest version (2.4) while also doing away with an old patch that used to be applied for glib2 compatibility (that is no longer needed).
-- Kind Regards, Wael Karram.
From d448bc73a2956df4346f8b25653657a7da1fcafe Mon Sep 17 00:00:00 2001 From: wael <w...@waelk.tech> Date: Fri, 30 Aug 2024 18:18:04 +0300 Subject: [PATCH] Updated GNU Rush to 2.4 and removed old glib patch from the build process. --- pcr/rush/PKGBUILD | 7 ++----- pcr/rush/rush-1.7-glib-2.16-gets.patch | 13 ------------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 pcr/rush/rush-1.7-glib-2.16-gets.patch diff --git a/pcr/rush/PKGBUILD b/pcr/rush/PKGBUILD index e8f92948d..451230fcd 100644 --- a/pcr/rush/PKGBUILD +++ b/pcr/rush/PKGBUILD @@ -9,7 +9,7 @@ set -u pkgname='rush' -pkgver='2.3' +pkgver='2.4' pkgrel='1' pkgdesc='GNU Restricted User Shell' arch=('i686' 'x86_64' 'armv7h') @@ -20,12 +20,9 @@ backup=('etc/rush.rc') install='rush.install' _verwatch=("${url}download.html" "${pkgname}-\([0-9\.]\+\)\.tar.xz" 't') source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz" - 'rush-1.7-glib-2.16-gets.patch' 'intprops.patch') -sha256sums=('8cae258247cd2623e856ea5e2c62cd7f09e9e3e043e6fc63bbd1abec3d3fdd93' - '159dd2fc0fd4feec5d43cf7763a429b9c2da5c50597b157de9e5b376d9ff85a8' +sha256sums=('fa95af9d2c7b635581841cc27a1d27af611f60dd962113a93d23a8874aa060f4' 'eb916fff92a4a33fff4951f1f219e8c9fb12f3a6c0dd462da30e451b26789a28') - prepare() { set -u cd "${pkgname}-${pkgver}" diff --git a/pcr/rush/rush-1.7-glib-2.16-gets.patch b/pcr/rush/rush-1.7-glib-2.16-gets.patch deleted file mode 100644 index 434f63eb1..000000000 --- a/pcr/rush/rush-1.7-glib-2.16-gets.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- rush-1.7/gnu/stdio.in.h 2010-06-13 19:14:59.000000000 +0200 -+++ rush-1.7/gnu/stdio.in.h 2013-12-30 14:29:55.000000000 +0100 -@@ -138,8 +138,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not - /* It is very rare that the developer ever has full control of stdin, - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ -+#if defined gets - #undef gets - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ -- 2.46.0
pgpWv9noljENv.pgp
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list Dev@lists.parabola.nu https://lists.parabola.nu/mailman/listinfo/dev