Bug 235560 - comms/libfec: fix build on powerpc, powerpc64
Summary: comms/libfec: fix build on powerpc, powerpc64
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: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-06 20:16 UTC by Piotr Kubaj
Modified: 2019-02-06 23:52 UTC (History)
3 users (show)

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


Attachments
patch (20.60 KB, patch)
2019-02-06 20:16 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-06 20:16:07 UTC
Created attachment 201799 [details]
patch

Altivec support probably wasn't maintained for years. Fix it to compile on powerpc64.

Tested also on amd64.

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

Author: db
Date: Wed Feb  6 23:49:13 UTC 2019
New revision: 492337
URL: https://svnweb.freebsd.org/changeset/ports/492337

Log:
  Altivec support probably wasn't maintained for years. Fix it to compile
  on powerpc64.

  Tested also on amd64.

  Hardware sponsored by IntegriCloud.

  PR:		ports/235560
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/comms/libfec/Makefile
  head/comms/libfec/files/cpu_mode.c
  head/comms/libfec/files/patch-configure.in
  head/comms/libfec/files/patch-dotprod__av.c
  head/comms/libfec/files/patch-encode__rs__8.c
  head/comms/libfec/files/patch-encode__rs__av.c
  head/comms/libfec/files/patch-fec.h
  head/comms/libfec/files/patch-peakval__av.c
  head/comms/libfec/files/patch-sumsq__av.c
  head/comms/libfec/files/patch-viterbi27__av.c
  head/comms/libfec/files/patch-viterbi29__av.c
  head/comms/libfec/files/patch-viterbi39__av.c
  head/comms/libfec/files/patch-viterbi615__av.c
Comment 2 Diane Bruce freebsd_committer 2019-02-06 23:52:31 UTC
Glad to see this submitted! Thanks!