commit 93a7cfe

hovercats  ·  2024-06-05 02:48:27 +0000 UTC
parent f2b3f50
cmake: 3.29.4 | fix implicit func decl
5 files changed,  +33, -3
+2, -0
1@@ -2,6 +2,8 @@
2 
3 export DESTDIR="$1"
4 
5+patch -p1 < 0001-remove-arch4random_buf-call.-it-does-not-exist.patch
6+
7 if kiss l cmake; then
8     cmake -G Ninja -B build \
9         -DCMAKE_INSTALL_PREFIX=/usr \
+2, -1
1@@ -1 +1,2 @@
2-649181bd8b7db4152dd3b4fca164820d52c91ba688166d9031c488f510184ae638
3+339b9f0e57856796a47b3cb467392f592b39f0360582d0e98ce6cb38e88c7f0d86
4+c32cf7b1eb365413d934971e4f2c686c0871116dd83d7889d9fa393a10cccffacb
+26, -0
 1@@ -0,0 +1,26 @@
 2+From 9f7ca588361f40444c10a039d32f541e378e2321 Mon Sep 17 00:00:00 2001
 3+From: hovercats <hovercatswithlasereyes@protonmail.com>
 4+Date: Wed, 5 Jun 2024 01:59:02 +0200
 5+Subject: [PATCH] remove arch4random_buf call. it does not exist
 6+
 7+---
 8+ Utilities/cmlibarchive/libarchive/archive_random.c | 3 ---
 9+ 1 file changed, 3 deletions(-)
10+
11+diff --git a/Utilities/cmlibarchive/libarchive/archive_random.c b/Utilities/cmlibarchive/libarchive/archive_random.c
12+index a410dc08..6ba130ca 100644
13+--- a/Utilities/cmlibarchive/libarchive/archive_random.c
14++++ b/Utilities/cmlibarchive/libarchive/archive_random.c
15+@@ -121,9 +121,6 @@ archive_random(void *buf, size_t nbytes)
16+ #elif !defined(HAVE_ARC4RANDOM_BUF) && (!defined(_WIN32) || defined(__CYGWIN__))
17+ 	la_arc4random_buf(buf, nbytes);
18+ 	return ARCHIVE_OK;
19+-#else
20+-	arc4random_buf(buf, nbytes);
21+-	return ARCHIVE_OK;
22+ #endif
23+ }
24+ 
25+-- 
26+2.45.1
27+
+2, -1
1@@ -1 +1,2 @@
2-https://cmake.org/files/v3.29/cmake-3.29.3.tar.gz
3+https://cmake.org/files/v3.29/cmake-3.29.4.tar.gz
4+patches/0001-remove-arch4random_buf-call.-it-does-not-exist.patch
+1, -1
1@@ -1 +1 @@
2-3.29.3 1
3+3.29.4 1