Bug 230593

Summary: audio/musicpd: Fix OPENAL option when using lld as the default linker
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Only Me CC: riggs
Priority: --- Keywords: patch
Version: LatestFlags: riggs: maintainer-feedback+
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226980
Attachments:
Description Flags
musicpd.diff
none
musicpd.diff tobik: maintainer-approval? (riggs)

Description Tobias Kortkamp freebsd_committer 2018-08-13 15:07:33 UTC
Created attachment 196157 [details]
musicpd.diff

/usr/bin/ld: error: cannot preempt symbol: alcGetString
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by OpenALOutputPlugin.cxx
>>>               liboutput_plugins_a-OpenALOutputPlugin.o:(AudioOutputWrapper<OpenALOutput>::Init(ConfigBlock const&)) in archive liboutput_plugins.a
Comment 1 Tobias Kortkamp freebsd_committer 2018-08-13 15:32:20 UTC
Created attachment 196159 [details]
musicpd.diff
Comment 2 commit-hook freebsd_committer 2018-08-16 11:18:44 UTC
A commit references this bug:

Author: riggs
Date: Thu Aug 16 11:18:01 UTC 2018
New revision: 477320
URL: https://svnweb.freebsd.org/changeset/ports/477320

Log:
  Fix OPENAL option when using lld as the default linker

  While on it: Replace LIB_DEPENDS by USES for OPENAL

  PR:		230593
  Submitted by:	tobik

Changes:
  head/audio/musicpd/Makefile
Comment 3 Thomas Zander freebsd_committer 2018-08-16 11:35:38 UTC
Thank you!
Comment 4 commit-hook freebsd_committer 2018-08-19 17:15:31 UTC
A commit references this bug:

Author: riggs
Date: Sun Aug 19 17:15:24 UTC 2018
New revision: 477585
URL: https://svnweb.freebsd.org/changeset/ports/477585

Log:
  MFH: r477320 r477568

  Fix OPENAL option when using lld as the default linker

  While on it: Replace LIB_DEPENDS by USES for OPENAL

  PR:		230593
  Submitted by:	tobik

  Update to upstream version 0.20.21

  Details:
  - Upstream changelog see:
    https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.20.21/NEWS

  Approved by:	ports-secteam (riggs)

Changes:
_U  branches/2018Q3/
  branches/2018Q3/audio/musicpd/Makefile
  branches/2018Q3/audio/musicpd/distinfo