Bug 215820 - security/xmlsec1 doesn't build with LibreSSL
Summary: security/xmlsec1 doesn't build with LibreSSL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-06 08:08 UTC by Peter Kien
Modified: 2017-01-06 14:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Kien 2017-01-06 08:08:12 UTC
These are the error messages:

app.c:71:31: error: use of undeclared identifier 'OPENSSL_INIT_LOAD_CRYPTO_STRINGS'
    ret = OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS |
                              ^
app.c:72:31: error: use of undeclared identifier 'OPENSSL_INIT_ADD_ALL_CIPHERS'
                              OPENSSL_INIT_ADD_ALL_CIPHERS |
                              ^
app.c:73:31: error: use of undeclared identifier 'OPENSSL_INIT_ADD_ALL_DIGESTS'
                              OPENSSL_INIT_ADD_ALL_DIGESTS |
                              ^
app.c:74:31: error: use of undeclared identifier 'OPENSSL_INIT_LOAD_CONFIG'
                              OPENSSL_INIT_LOAD_CONFIG |

app.c:75:31: error: use of undeclared identifier 'OPENSSL_INIT_ASYNC'
                              OPENSSL_INIT_ASYNC |

app.c:76:31: error: use of undeclared identifier 'OPENSSL_INIT_ENGINE_ALL_BUILTIN'
                              OPENSSL_INIT_ENGINE_ALL_BUILTIN,
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-01-06 13:13:01 UTC
A commit references this bug:

Author: hrs
Date: Fri Jan  6 13:12:47 UTC 2017
New revision: 430705
URL: https://svnweb.freebsd.org/changeset/ports/430705

Log:
  - Remove stale REINPLACE_CMD lines.
  - Fix build when ssl=libressl[*]

  PR:	215820 [*]

Changes:
  head/security/xmlsec1/Makefile
  head/security/xmlsec1/files/patch-Makefile.in
  head/security/xmlsec1/files/patch-configure
  head/security/xmlsec1/files/patch-src-openssl-app.c
Comment 2 Hiroki Sato freebsd_committer freebsd_triage 2017-01-06 13:15:29 UTC
Thank you for the report.  This problem should be fixed now.  Please let me know if it still persists in the latest ports tree.
Comment 3 Peter Kien 2017-01-06 14:00:48 UTC
Thank you, Hiroki. That was really quick. :)

Everything seems to be working now.