Bug 232375 - databases/pgadmin3: error: field has incomplete type 'EVP_CIPHER_CTX' (openssl 1.1 in base)
Summary: databases/pgadmin3: error: field has incomplete type 'EVP_CIPHER_CTX' (openss...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Max Khon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-18 08:39 UTC by O. Hartmann
Modified: 2018-12-12 08:48 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (fjoe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2018-10-18 08:39:46 UTC
Port doesn't build on 12-ALPHA10 with OpenSSL 1.1.1:

[...]
cc -DHAVE_CONFIG_H -I. -I.. -I../pgadmin/include/libssh2  -DDATA_DIR=\"/usr/local/share/pgadmin3/\" -I../pgadmin/include -I../pgadmin/include/libssh2   -I/usr/local/include -I/usr/local/include -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql -DHAVE_CONNINFO_PARSE -DDATABASEDESIGNER -I/usr/local/lib/wx/include/gtk2-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DEMBED_XRC -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -DHAVE_OPENSSL_CRYPTO -DLIBSSH2_OPENSSL  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT libssh2/kex.o -MD -MP -MF $depbase.Tpo -c -o libssh2/kex.o libssh2/kex.c &&\
mv -f $depbase.Tpo $depbase.Po
libssh2/crypt.c:70:25: error: field has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
    _libssh2_cipher_ctx h;
                        ^
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'struct evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-12 08:48:53 UTC
A commit references this bug:

Author: fjoe
Date: Wed Dec 12 08:47:56 UTC 2018
New revision: 487284
URL: https://svnweb.freebsd.org/changeset/ports/487284

Log:
  - Fix build with OpenSSL 1.1

  PR:		232375

Changes:
  head/databases/pgadmin3/files/patch-openssl11