diffutils: update to 3.9.

This commit is contained in:
mhmdanas 2023-01-18 22:39:37 +00:00 committed by Leah Neukirchen
parent d963b695f1
commit 0946a47592
2 changed files with 4 additions and 18 deletions

View file

@ -1,14 +0,0 @@
--- a/lib/sigsegv.c
+++ b/lib/sigsegv.c
@@ -221,8 +221,10 @@ int libsigsegv_version = LIBSIGSEGV_VERSION;
/* both should be equivalent */
# if 0
# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.regs->gpr[1]
-# else
+# elif defined(__GLIBC__)
# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
+# else
+# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gregs[1]
# endif
# endif

View file

@ -1,17 +1,17 @@
# Template file for 'diffutils'
pkgname=diffutils
version=3.8
version=3.9
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="gl_cv_func_gettimeofday_clobber=no gl_cv_func_tzset_clobber=no"
checkdepends="perl"
short_desc="The GNU diff utilities"
short_desc="GNU diff utilities"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/diffutils"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec
distfiles="${GNU_SITE}/diffutils/diffutils-${version}.tar.xz"
checksum=d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no