Bug 222772 - devel/hyperscan: Add -fPIC flag
Summary: devel/hyperscan: Add -fPIC flag
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vsevolod Stakhov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-04 09:35 UTC by Val Packett
Modified: 2018-07-27 09:30 UTC (History)
1 user (show)

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


Attachments
hyperscan_pic.patch (373 bytes, patch)
2017-10-04 09:35 UTC, Val Packett
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Val Packett 2017-10-04 09:35:33 UTC
Created attachment 186903 [details]
hyperscan_pic.patch

For some reason, hyperscan is built without -fPIC by default. PIC is required for static linking in language bindings such as https://github.com/flier/rust-hyperscan
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-03-13 14:09:34 UTC
There is a new version 4.7.0
https://github.com/intel/hyperscan/blob/master/CHANGELOG.md
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-07-27 09:28:54 UTC
A commit references this bug:

Author: vsevolod
Date: Fri Jul 27 09:28:09 UTC 2018
New revision: 475419
URL: https://svnweb.freebsd.org/changeset/ports/475419

Log:
  - Update to 4.7.0
  - Add fPIC flag (based on [1])

  PR:		222772 [1]
  Submitted by:	Greg V <greg@unrelenting.technology> [1]

Changes:
  head/devel/hyperscan/Makefile
  head/devel/hyperscan/distinfo
Comment 3 Vsevolod Stakhov freebsd_committer freebsd_triage 2018-07-27 09:30:18 UTC
Committed with modifications, thank you!