mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
import acl_extended_file_np.c from src/lib/libc/posix1e, taken from FreeBSD src branch as of 559a218c9b25, 2023-11-01T16:43:37Z and tell Cython to include it on FreeBSD before 1400033, i. e., before FreeBSD's libc had it. This fixes https://github.com/borgbackup/borg/issues/8269 and makes it unnecessary to look into PR: 280453
11 lines
707 B
Python
11 lines
707 B
Python
--- setup.py.orig 2024-07-02 22:06:38 UTC
|
|
+++ setup.py
|
|
@@ -181,7 +181,7 @@ if not on_rtd:
|
|
syncfilerange_ext = Extension(
|
|
"borg.platform.syncfilerange", [platform_syncfilerange_source], extra_compile_args=cflags
|
|
)
|
|
- freebsd_ext = Extension("borg.platform.freebsd", [platform_freebsd_source], extra_compile_args=cflags)
|
|
+ freebsd_ext = Extension("borg.platform.freebsd", [platform_freebsd_source, 'src/borg/platform/acl_extended_file_np.c'], extra_compile_args=cflags)
|
|
darwin_ext = Extension("borg.platform.darwin", [platform_darwin_source], extra_compile_args=cflags)
|
|
windows_ext = Extension("borg.platform.windows", [platform_windows_source], extra_compile_args=cflags)
|
|
|