Bug 199006

Summary: [PACTH] net-p2p/twister: Fix build with LibreSSL
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (thierry)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff net-p2p/twister
none
Poudriere build log for net-p2p/twister none

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!