SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
security/encfs/patches/patch-encfs_NullCipher_cpp
Normal file
14
security/encfs/patches/patch-encfs_NullCipher_cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
Fix str::shared_ptr destructor signature, constrained with llvm13.
|
||||
|
||||
Index: encfs/NullCipher.cpp
|
||||
--- encfs/NullCipher.cpp.orig
|
||||
+++ encfs/NullCipher.cpp
|
||||
@@ -76,7 +76,7 @@ class NullDestructor {
|
||||
NullDestructor &operator=(const NullDestructor &) = delete; // copy assignment
|
||||
NullDestructor& operator=(NullDestructor&& other) = delete; // move assignment
|
||||
|
||||
- void operator()(NullKey *&) {}
|
||||
+ void operator()(NullKey *) {}
|
||||
};
|
||||
std::shared_ptr<AbstractCipherKey> gNullKey(new NullKey(), NullDestructor());
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue