Hi,

Minor tweaks for borgbackup.  lang/python/3.6 now provides a python3
symlink, so the patch shouldn't be needed.

ok?


Index: patches/patch-src_borg__endian_h
===================================================================
RCS file: /d/cvs/ports/sysutils/borgbackup/patches/patch-src_borg__endian_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_borg__endian_h
--- patches/patch-src_borg__endian_h    4 Nov 2017 12:29:38 -0000       1.1
+++ patches/patch-src_borg__endian_h    4 Nov 2017 23:27:19 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-src_borg__endian_h,v 1.1 2017/11/04 12:29:38 jasper Exp $
 
-__builtin_bswap32 unavailable at least on sparc6
+__builtin_bswap32 unavailable at least on sparc64
 
 Index: src/borg/_endian.h
 --- src/borg/_endian.h.orig
Index: patches/patch-src_borg_testsuite_archiver_py
===================================================================
RCS file: patches/patch-src_borg_testsuite_archiver_py
diff -N patches/patch-src_borg_testsuite_archiver_py
--- patches/patch-src_borg_testsuite_archiver_py        4 Nov 2017 12:29:38 
-0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-src_borg_testsuite_archiver_py,v 1.1 2017/11/04 12:29:38 
jasper Exp $
-
-Index: src/borg/testsuite/archiver.py
---- src/borg/testsuite/archiver.py.orig
-+++ src/borg/testsuite/archiver.py
-@@ -2452,7 +2452,7 @@ class ArchiverTestCase(ArchiverTestCaseBase):
-     def test_with_lock(self):
-         self.cmd('init', '--encryption=repokey', self.repository_location)
-         lock_path = os.path.join(self.repository_path, 'lock.exclusive')
--        cmd = 'python3', '-c', 'import os, sys; sys.exit(42 if 
os.path.exists("%s") else 23)' % lock_path
-+        cmd = 'python${MODPY_VERSION}', '-c', 'import os, sys; sys.exit(42 if 
os.path.exists("%s") else 23)' % lock_path
-         self.cmd('with-lock', self.repository_location, *cmd, fork=True, 
exit_code=42)
- 
-     def test_recreate_list_output(self):

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to