Bug 199006 - [PACTH] net-p2p/twister: Fix build with LibreSSL
Summary: [PACTH] net-p2p/twister: Fix 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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-29 19:10 UTC by Bernard Spil
Modified: 2015-03-30 19:40 UTC (History)
0 users

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


Attachments
svn diff net-p2p/twister (1.05 KB, patch)
2015-03-29 19:10 UTC, Bernard Spil
no flags Details | Diff
Poudriere build log for net-p2p/twister (219.89 KB, text/plain)
2015-03-29 19:33 UTC, Bernard Spil
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2015-03-29 19:10:59 UTC
Created attachment 154969 [details]
svn diff net-p2p/twister

LibreSSL includes are slightly different. To use RAND_add, openssl/rand.h must be included. Attached patch solves the build failure of net-p2p/twister
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-03-29 19:33:24 UTC
Created attachment 154973 [details]
Poudriere build log for net-p2p/twister
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2015-03-30 09:02:13 UTC
Upstream imported pull request
https://github.com/miguelfreitas/twister-core/pull/327
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-03-30 19:39:11 UTC
A commit references this bug:

Author: thierry
Date: Mon Mar 30 19:38:54 UTC 2015
New revision: 382715
URL: https://svnweb.freebsd.org/changeset/ports/382715

Log:
  Refresh to a recent snapshot, so that it includes a patch to fix build
  with LibreSSL.

  PR:		ports/199006
  Submitted by:	Bernard Spil <spil.oss (at) gmail.com>

Changes:
  head/net-p2p/twister/Makefile
  head/net-p2p/twister/distinfo
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2015-03-30 19:40:12 UTC
Since your patch has been committed upstream, I've just refreshed this port to a recent snapshot. Thanks!