[MacPorts] #59638: emacs: error: use of undeclared identifier 'MD5_DIGEST_SIZE'
MacPorts
noreply at macports.org
Fri Nov 8 05:41:17 UTC 2019
#59638: emacs: error: use of undeclared identifier 'MD5_DIGEST_SIZE'
------------------------+----------------------
Reporter: ryandesign | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: emacs
------------------------+----------------------
emacs doesn't build:
{{{
fns.c:4987:21: error: use of undeclared identifier 'MD5_DIGEST_SIZE'
digest_size = MD5_DIGEST_SIZE;
^
fns.c:4988:21: error: use of undeclared identifier 'md5_buffer'
hash_func = md5_buffer;
^
fns.c:4992:21: error: use of undeclared identifier 'SHA1_DIGEST_SIZE'
digest_size = SHA1_DIGEST_SIZE;
^
fns.c:4993:21: error: use of undeclared identifier 'sha1_buffer'
hash_func = sha1_buffer;
^
fns.c:4997:21: error: use of undeclared identifier 'SHA224_DIGEST_SIZE'
digest_size = SHA224_DIGEST_SIZE;
^
fns.c:4998:21: error: use of undeclared identifier 'sha224_buffer'
hash_func = sha224_buffer;
^
fns.c:5002:21: error: use of undeclared identifier 'SHA256_DIGEST_SIZE'
digest_size = SHA256_DIGEST_SIZE;
^
fns.c:5003:21: error: use of undeclared identifier 'sha256_buffer'
hash_func = sha256_buffer;
^
fns.c:5007:21: error: use of undeclared identifier 'SHA384_DIGEST_SIZE'
digest_size = SHA384_DIGEST_SIZE;
^
fns.c:5008:21: error: use of undeclared identifier 'sha384_buffer'
hash_func = sha384_buffer;
^
fns.c:5012:21: error: use of undeclared identifier 'SHA512_DIGEST_SIZE'
digest_size = SHA512_DIGEST_SIZE;
^
fns.c:5013:21: error: use of undeclared identifier 'sha512_buffer'
hash_func = sha512_buffer;
^
fns.c:5089:19: error: variable has incomplete type 'struct sha1_ctx'
struct sha1_ctx ctx;
^
fns.c:5089:10: note: forward declaration of 'struct sha1_ctx'
struct sha1_ctx ctx;
^
fns.c:5099:3: warning: implicit declaration of function 'sha1_init_ctx' is
invalid in C99 [-Wimplicit-function-declaration]
sha1_init_ctx (&ctx);
^
fns.c:5102:3: warning: implicit declaration of function
'sha1_process_bytes' is invalid in C99 [-Wimplicit-function-declaration]
sha1_process_bytes (BUF_BEG_ADDR (b),
^
fns.c:5113:44: error: use of undeclared identifier 'SHA1_DIGEST_SIZE'
Lisp_Object digest = make_uninit_string (SHA1_DIGEST_SIZE * 2);
^
fns.c:5114:3: warning: implicit declaration of function 'sha1_finish_ctx'
is invalid in C99 [-Wimplicit-function-declaration]
sha1_finish_ctx (&ctx, SSDATA (digest));
^
fns.c:5115:38: error: use of undeclared identifier 'SHA1_DIGEST_SIZE'
return make_digest_string (digest, SHA1_DIGEST_SIZE);
^
3 warnings and 15 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59638>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list