nixpkgs/pkgs/by-name/ld/ld64/remove-unused-and-incomplete-blob-clone.diff
Reno Dakota f91487fa13
ld64: fix build with llvm19
remove unused and incomplete function
2024-11-02 19:00:00 -07:00

15 lines
448 B
Diff

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); }