mirror of https://github.com/openbsd/ports.git
Update to deja-dup-45.2.
This commit is contained in:
parent
3823b54854
commit
04abf83a64
|
@ -1,7 +1,6 @@
|
|||
COMMENT= simple encrypted backup tool for GNOME
|
||||
|
||||
DIST_TUPLE= gnome World deja-dup 45.1 .
|
||||
REVISION= 1
|
||||
DIST_TUPLE= gnome World deja-dup 45.2 .
|
||||
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (World-deja-dup-deja-dup-45.1.tar.gz) = VoWhnMhLb45ImVmV1VeuHnqe5xbNPNb/Ivx3uz76/I8=
|
||||
SIZE (World-deja-dup-deja-dup-45.1.tar.gz) = 1892253
|
||||
SHA256 (World-deja-dup-deja-dup-45.2.tar.gz) = u1II0QKo1ttpvYldwvQIZxOAz4dUJIvOT1sE/tNh5lk=
|
||||
SIZE (World-deja-dup-deja-dup-45.2.tar.gz) = 1897979
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
No euidaccess on OpenBSD
|
||||
|
||||
Index: app/RestoreFileTester.vala
|
||||
--- app/RestoreFileTester.vala.orig
|
||||
+++ app/RestoreFileTester.vala
|
||||
@@ -75,12 +75,12 @@ public class RestoreFileTester : Object
|
||||
// a file in it. But testing write access is probably good enough for now.
|
||||
exists = false;
|
||||
string iter = path;
|
||||
- int access = -1;
|
||||
- while (access != 0 && Posix.errno == Posix.ENOENT) {
|
||||
+ int has_access = -1;
|
||||
+ while (has_access != 0 && Posix.errno == Posix.ENOENT) {
|
||||
iter = Path.get_dirname(iter);
|
||||
- access = Posix.euidaccess(iter, Posix.W_OK | Posix.X_OK);
|
||||
+ has_access = Posix.access(iter, Posix.W_OK | Posix.X_OK);
|
||||
}
|
||||
- if (access != 0)
|
||||
+ if (has_access != 0)
|
||||
return false;
|
||||
}
|
||||
} else {
|
Loading…
Reference in New Issue