ld64: fix build with llvm19
remove unused and incomplete function
This commit is contained in:
parent
0efe75ec20
commit
f91487fa13
@ -128,6 +128,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./0006-Add-libcd_is_blob_a_linker_signature-implementation.patch
|
||||
# Add OpenSSL implementation of CoreCrypto digest functions. Avoids use of private and non-free APIs.
|
||||
./0007-Add-OpenSSL-based-CoreCrypto-digest-functions.patch
|
||||
./remove-unused-and-incomplete-blob-clone.diff
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -0,0 +1,14 @@
|
||||
diff --git a/src/ld/code-sign-blobs/blob.h b/src/ld/code-sign-blobs/blob.h
|
||||
index 19c63a9..1dfb380 100644
|
||||
--- a/src/ld/code-sign-blobs/blob.h
|
||||
+++ b/src/ld/code-sign-blobs/blob.h
|
||||
@@ -180,9 +180,6 @@ public:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
- BlobType *clone() const
|
||||
- { assert(validateBlob()); return specific(this->BlobCore::clone()); }
|
||||
-
|
||||
static BlobType *readBlob(int fd)
|
||||
{ return specific(BlobCore::readBlob(fd, _magic, sizeof(BlobType), 0), true); }
|
||||
|
Loading…
Reference in New Issue
Block a user