diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2024-07-26 15:23:06 +0200 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2024-07-26 15:43:31 +0200 |
commit | bd04537abb28059580c84440c56a952d76067bd1 (patch) | |
tree | 064f18ae272f567744c744925a7f2b099473a28c /archivers/py-borgbackup/files/extrapatch-setup.py | |
parent | sysutils/fluent-bit: Remove non-functional EXAMPLES variables (diff) |
archivers/py-borgbackup: unbreak on FreeBSD 13
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
Diffstat (limited to 'archivers/py-borgbackup/files/extrapatch-setup.py')
-rw-r--r-- | archivers/py-borgbackup/files/extrapatch-setup.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/py-borgbackup/files/extrapatch-setup.py b/archivers/py-borgbackup/files/extrapatch-setup.py new file mode 100644 index 000000000000..f0128d2bb589 --- /dev/null +++ b/archivers/py-borgbackup/files/extrapatch-setup.py @@ -0,0 +1,11 @@ +--- 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) + |