Bug 235536 - security/sha1collisiondetection: fix build with GCC-based architectures
Summary: security/sha1collisiondetection: fix build with GCC-based architectures
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-05 18:51 UTC by Piotr Kubaj
Modified: 2019-02-06 00:40 UTC (History)
2 users (show)

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


Attachments
patch (1.09 KB, patch)
2019-02-05 18:51 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj 2019-02-05 18:51:33 UTC
Created attachment 201775 [details]
patch

-std=c90 is not supported by base GCC. Replace it with -std=c89, which is just the same.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2019-02-06 00:40:00 UTC
A commit references this bug:

Author: linimon
Date: Wed Feb  6 00:39:33 UTC 2019
New revision: 492283
URL: https://svnweb.freebsd.org/changeset/ports/492283

Log:
  -std=c90 is not supported by base GCC.  Replace it with -std=c89, which
  is equivalent, to fix build on GCC-based architectures.

  PR:		235536
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/security/sha1collisiondetection/Makefile