termux-packages/packages/borgbackup/src-borg-xattr.py.patch

13 lines
578 B
Diff

diff -uNr borgbackup-1.1.17/src/borg/xattr.py borgbackup-1.1.17.mod/src/borg/xattr.py
--- borgbackup-1.1.17/src/borg/xattr.py 2021-07-12 22:44:34.000000000 +0300
+++ borgbackup-1.1.17.mod/src/borg/xattr.py 2021-07-16 22:08:43.614494338 +0300
@@ -72,7 +72,7 @@
# tools used by find_library, like ldconfig, gcc/cc, objdump.
# so we can only try some "usual" names for the C library:
if sys.platform.startswith('linux'):
- libc_name = 'libc.so.6'
+ libc_name = 'libc.so'
elif sys.platform == 'darwin':
libc_name = 'libc.dylib'
else: