tpoechtrager / cctools-port

Apple cctools port for Linux and *BSD
731 stars 168 forks source link

[🍒] Remove unused broken clone function #155

Closed h-vetinari closed 2 months ago

h-vetinari commented 2 months ago

Somehow https://github.com/tpoechtrager/cctools-port/commit/69160658f88ebc582f8d9155ecea1575696f8067 got dropped between 1009.2-ld64-907 and 1010.6-ld64-951.9, meaning that the latter fails on newer clang with

$SRC_DIR/cctools/ld64/src/ld/parsers/../code-sign-blobs/blob.h:185:60: error: no member named 'clone' in 'Security::BlobCore'
  185 |         { assert(validateBlob()); return specific(this->BlobCore::clone());     }
      |                                                         ~~~~~~~~~~^

Cherry-pick that commit to the branch to fix.