archivers/xz: maintenance update to 5.2.9

This commit is contained in:
naddy 2022-12-03 21:30:17 +00:00
parent 5710eecc46
commit 62aa71cc08
4 changed files with 7 additions and 20 deletions

View File

@ -1,7 +1,7 @@
COMMENT= LZMA compression and decompression tools
DISTNAME= xz-5.2.7
SHARED_LIBS= lzma 2.1 # 7.7
DISTNAME= xz-5.2.9
SHARED_LIBS= lzma 2.1 # 7.9
CATEGORIES= archivers
DPB_PROPERTIES= parallel
@ -23,4 +23,6 @@ CONFIGURE_ARGS= --disable-nls \
--enable-external-sha256
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
DEBUG_PACKAGES= ${BUILD_PACKAGES}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (xz-5.2.7.tar.gz) = BjJ8LdyB4Sam2aeLC+UBS5dqLAgy9JLc/EdV1/rPbTM=
SIZE (xz-5.2.7.tar.gz) = 2105803
SHA256 (xz-5.2.9.tar.gz) = 6YLqMbgVQ9fuK2+jTCrRF2DhxQxvRHWt2LoPLwBfB7Q=
SIZE (xz-5.2.9.tar.gz) = 2122988

View File

@ -1,7 +1,7 @@
Index: config.h.in
--- config.h.in.orig
+++ config.h.in
@@ -385,7 +385,11 @@
@@ -388,7 +388,11 @@
/* Define to 1 if the system supports fast unaligned access to 16-bit and
32-bit integers. */

View File

@ -1,15 +0,0 @@
Index: src/common/tuklib_cpucores.c
--- src/common/tuklib_cpucores.c.orig
+++ src/common/tuklib_cpucores.c
@@ -72,7 +72,11 @@ tuklib_cpucores(void)
}
#elif defined(TUKLIB_CPUCORES_SYSCTL)
+# ifdef HW_NCPUONLINE /* OpenBSD: number of cpus being used */
+ int name[2] = { CTL_HW, HW_NCPUONLINE };
+# else
int name[2] = { CTL_HW, HW_NCPU };
+# endif
int cpus;
size_t cpus_size = sizeof(cpus);
if (sysctl(name, 2, &cpus, &cpus_size, NULL, 0) != -1