Haven't looked to see the background on these conflicting definitions (both libressl 2.7.2 and 2.7.3 with sqlcipher 3.4.2) sqlcipher compile failure sqlite3.c:21642:18: error: static declaration of 'HMAC_CTX_new' follows non-static declaration static HMAC_CTX *HMAC_CTX_new(void) ^ /usr/local/include/openssl/hmac.h:86:11: note: previous declaration is here HMAC_CTX *HMAC_CTX_new(void); ^ sqlite3.c:21655:13: error: static declaration of 'HMAC_CTX_free' follows non-static declaration static void HMAC_CTX_free(HMAC_CTX *ctx) ^ /usr/local/include/openssl/hmac.h:87:6: note: previous declaration is here void HMAC_CTX_free(HMAC_CTX *ctx);
Created attachment 194093 [details] svn diff for databases/sqlcipher From: https://github.com/gentoo/libressl/pull/232
Hi jharris, Let me know if this patch is OK, then I can commit it to ports. Cheers, Bernard.
Builds fine, make test from sqlcipher/work/sqlcipher-3.4.2 seems OK. Approved. Thanks!
A commit references this bug: Author: brnrd Date: Mon Jun 11 18:35:26 UTC 2018 New revision: 472199 URL: https://svnweb.freebsd.org/changeset/ports/472199 Log: databases/sqlcipher: Fix build with LibreSSL 2.7 - LibreSSL 2.7 adds OpenSSL 1.1 ABI PR: 228248 Approved by: maintainer (jharris widomaker com) Changes: head/databases/sqlcipher/files/ head/databases/sqlcipher/files/patch-sqlcipher-libressl-2.7
Thanks!