Package Details: ldid 2.1.5procursus7-2

Git Clone URL: https://aur.archlinux.org/ldid.git (read-only, click to copy)
Package Base: ldid
Description: Put real or fake signatures in Darwin binaries - Procursus fork
Upstream URL: https://github.com/ProcursusTeam/ldid
Licenses: AGPL
Conflicts: ldid2
Provides: ldid, ldid2
Replaces: ldid2
Submitter: ckatri
Maintainer: sunflsks (keto)
Last Packager: keto
Votes: 3
Popularity: 0.002077
First Submitted: 2020-09-18 16:46 (UTC)
Last Updated: 2023-08-17 20:56 (UTC)

Latest Comments

<deleted-account> commented on 2024-05-05 13:49 (UTC)

Building fails for some reason.

ldid.cpp:658:38: error: invalid conversion from ‘char**’ to ‘uint8_t**’ {aka ‘unsigned char**’} [-fpermissive]
  658 |             plist_get_data_val(data, &value, &length);
      |                                      ^~~~~~
      |                                      |
      |                                      char**
In file included from ldid.cpp:60:
/usr/include/plist/plist.h:758:63: note:   initializing argument 2 of ‘void plist_get_data_val(plist_t, uint8_t**, uint64_t*)’
  758 |     PLIST_API void plist_get_data_val(plist_t node, uint8_t **val, uint64_t * length);
      |                                                     ~~~~~~~~~~^~~
ldid.cpp: In lambda function:
ldid.cpp:2566:77: error: invalid conversion from ‘char*’ to ‘const uint8_t*’ {aka ‘const unsigned char*’} [-fpermissive]
 2566 |                 plist_array_append_item(cdhashes, plist_new_data(cdhash.data(), cdhash.size()));
      |                                                                  ~~~~~~~~~~~^~
      |                                                                             |
      |                                                                             char*
/usr/include/plist/plist.h:261:53: note:   initializing argument 1 of ‘void* plist_new_data(const uint8_t*, uint64_t)’
  261 |     PLIST_API plist_t plist_new_data(const uint8_t *val, uint64_t length);
      |                                      ~~~~~~~~~~~~~~~^~~
ldid.cpp: In function ‘ldid::Bundle ldid::Sign(const std::string&, Folder&, const std::string&, State&, const std::string&,
const Functor<std::__cxx11::basic_string<char>(const std::__cxx11::basic_string<char>&, const std::__cxx11::basic_string<char>&)>&, bool, uint8_t, const Progress&)’:
ldid.cpp:3173:87: error: invalid conversion from ‘const char*’ to ‘const uint8_t*’ {aka ‘const unsigned char*’} [-fpermissive]
 3173 |                         plist_dict_set_item(files, hash.first.c_str(), plist_new_data(reinterpret_cast<const char *>(hash.second.sha1_), sizeof(hash.second.sha1_)));
      |                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                       |
      |                                                                                       const char*
/usr/include/plist/plist.h:261:53: note:   initializing argument 1 of ‘void* plist_new_data(const uint8_t*, uint64_t)’
  261 |     PLIST_API plist_t plist_new_data(const uint8_t *val, uint64_t length);
      |                                      ~~~~~~~~~~~~~~~^~~
ldid.cpp:3176:75: error: invalid conversion from ‘const char*’ to ‘const uint8_t*’ {aka ‘const unsigned char*’} [-fpermissive]
 3176 |                         plist_dict_set_item(entry, "hash", plist_new_data(reinterpret_cast<const char *>(hash.second.sha1_), sizeof(hash.second.sha1_)));
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                           |
      |                                                                           const char*
/usr/include/plist/plist.h:261:53: note:   initializing argument 1 of ‘void* plist_new_data(const uint8_t*, uint64_t)’
  261 |     PLIST_API plist_t plist_new_data(const uint8_t *val, uint64_t length);
      |                                      ~~~~~~~~~~~~~~~^~~
ldid.cpp:3178:80: error: invalid conversion from ‘const char*’ to ‘const uint8_t*’ {aka ‘const unsigned char*’} [-fpermissive]
 3178 |                             plist_dict_set_item(entry, "hash2", plist_new_data(reinterpret_cast<const char *>(hash.second.sha256_), sizeof(hash.second.sha256_)));
      |                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                |
      |                                                                                const char*
/usr/include/plist/plist.h:261:53: note:   initializing argument 1 of ‘void* plist_new_data(const uint8_t*, uint64_t)’
  261 |     PLIST_API plist_t plist_new_data(const uint8_t *val, uint64_t length);
      |                                      ~~~~~~~~~~~~~~~^~~
ldid.cpp:3205:69: error: invalid conversion from ‘const char*’ to ‘const uint8_t*’ {aka ‘const unsigned char*’} [-fpermissive]
 3205 |                 plist_dict_set_item(entry, "cdhash", plist_new_data(reinterpret_cast<const char *>(bundle.second.hash.sha256_), sizeof(bundle.second.hash.sha256_)));
      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                     |
      |                                                                     const char*
/usr/include/plist/plist.h:261:53: note:   initializing argument 1 of ‘void* plist_new_data(const uint8_t*, uint64_t)’
  261 |     PLIST_API plist_t plist_new_data(const uint8_t *val, uint64_t length);
      |                                      ~~~~~~~~~~~~~~~^~~
make: *** [Makefile:41: ldid.cpp.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ldid-exit status 4
 -> Failed to install the following packages. Manual intervention is required: