mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
main/rsync: fix tests with gcc 15
This commit is contained in:
parent
195ce56e63
commit
21198c7fe3
2 changed files with 27 additions and 0 deletions
|
@ -19,6 +19,7 @@ makedepends="
|
|||
subpackages="$pkgname-doc $pkgname-openrc rrsync::noarch"
|
||||
source="https://download.samba.org/pub/rsync/rsync-$pkgver.tar.gz
|
||||
dont-use-nobody.patch
|
||||
gcc15.patch
|
||||
rsyncd.initd
|
||||
rsyncd.confd
|
||||
rsyncd.conf
|
||||
|
@ -98,6 +99,7 @@ rrsync() {
|
|||
sha512sums="
|
||||
a3ecde4843ddb795308dca88581b868ac0221eb6f88a1477d7a9a2ecb4e4686042966bdddbab40866f90a4715d3104daa7b83222ddf0f3387b796a86bde8e5c2 rsync-3.4.1.tar.gz
|
||||
366e361e5d696ddcd0bb773ae4912e7b7cab81ad11123196c8b990802a14141115d1baecd28a445261d089d38964082ecdaecb6ccb43ccdabcfd7936b72d6d7e dont-use-nobody.patch
|
||||
cb1afa6329a5452c4887e90eca4d42dbd76feb1339ff036392ab77eab15abe9af5fed3a0b324bd626b51c0aae3e216b8af5c111c2166afd9f7931208a282f09f gcc15.patch
|
||||
b9bf1aa02f96e4294642ead5751bd529ca1267c08e83a16342fba5736c3a8ec89568feb11fb737e974cb1bee7e00e7a8898d25844892366c6167b9ea8d1e647c rsyncd.initd
|
||||
d91337cfb57e6e3b2a8ba1e24f7d851dd927bfc327da2212b9eb0acda0e1ca2f24987f6dcc4903eccc3bf170e0f115172b3cfa5a172700495296f26302c834d7 rsyncd.confd
|
||||
3db8a2b364fc89132af6143af90513deb6be3a78c8180d47c969e33cb5edde9db88aad27758a6911f93781e3c9846aeadc80fffc761c355d6a28358853156b62 rsyncd.conf
|
||||
|
|
25
main/rsync/gcc15.patch
Normal file
25
main/rsync/gcc15.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
Patch-Source: https://github.com/RsyncProject/rsync/pull/716
|
||||
--
|
||||
From 026ef4cd09660c0a096e285e668b4ba7cd396509 Mon Sep 17 00:00:00 2001
|
||||
From: Michal Ruprich <mruprich@redhat.com>
|
||||
Date: Fri, 17 Jan 2025 12:37:57 +0100
|
||||
Subject: [PATCH] bool is a keyword in C23
|
||||
|
||||
---
|
||||
wildtest.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/wildtest.c b/wildtest.c
|
||||
index bea4cebbe..482cdf170 100644
|
||||
--- a/wildtest.c
|
||||
+++ b/wildtest.c
|
||||
@@ -32,7 +32,9 @@ int fnmatch_errors = 0;
|
||||
|
||||
int wildmatch_errors = 0;
|
||||
|
||||
+#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L
|
||||
typedef char bool;
|
||||
+#endif
|
||||
|
||||
int output_iterations = 0;
|
||||
int explode_mod = 0;
|
Loading…
Add table
Add a link
Reference in a new issue