Skip to content

Commit 2a1092a

Browse files
committed
fix(rsync)
closes #12962 closes #12963
1 parent 20ce821 commit 2a1092a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

projects/rsync.samba.org/package.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,20 @@ dependencies:
1111
lz4.org: ^1
1212

1313
build:
14+
dependencies:
15+
linux:
16+
# since v3.4.3 for linux/openat2.h
17+
kernel.org/linux-headers: ">=5.6"
1418
script:
19+
- run: sed -i "/#include <linux\/openat2.h>/r $PROP" syscall.c
20+
if: '>=3.4.3 linux'
21+
prop: |
22+
#ifndef SYS_openat2
23+
# include <asm/unistd.h>
24+
# ifdef __NR_openat2
25+
# define SYS_openat2 __NR_openat2
26+
# endif
27+
#endif
1528
- ./configure $ARGS
1629
- make --jobs {{ hw.concurrency }} install
1730
env:

0 commit comments

Comments
 (0)