[Bug 243281] audio/ardour5: fix build on powerpc64

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243281

--- Comment #3 from [email protected] ---
A commit references this bug:

Author: pkubaj
Date: Sun Jan 12 02:59:42 UTC 2020
New revision: 522745
URL: https://svnweb.freebsd.org/changeset/ports/522745

Log:
  audio/ardour5: fix build on powerpc64

  _POSIX_SOURCE causes some errors in errno.h not to be seen (like
EAFNOSUPPORT), so remove it.

  On ELFv2 lld can't link it, throws errors like:
  ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol;
recompile with -fPIC
  >>> defined in libs/ardour/cycle_timer.cc.1.o
  >>> referenced by cycle_timer.cc
  >>>               libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8)

  Recompiling with -fPIC doesn't help, so use GNU ld there.

  PR:           243281
  Approved by:  portmgr (blanket: build fix)
  MFH:          2020Q1 (blanket: build fix)

Changes:
  head/audio/ardour5/Makefile
  head/audio/ardour5/files/
  head/audio/ardour5/files/patch-libs_fst_wscript

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.