summaryrefslogtreecommitdiff
path: root/audio/musicpd/files/patch-src_zeroconf_meson.build
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2019-01-13 14:19:24 +0000
committerThomas Zander <riggs@FreeBSD.org>2019-01-13 14:19:24 +0000
commit09bfac1bf8bcab53c11e6e0e824219a50f205461 (patch)
tree91bd56d92862f388ef98995ec44792713116eb2a /audio/musicpd/files/patch-src_zeroconf_meson.build
parentUpgrade to v.2.4.5. (diff)
Update to upstream version 0.21.4
Details: - Bugfix release, see upstream changelog: https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.4/NEWS - Fix build with openal and lld MFH: 2019Q1
Notes
Notes: svn path=/head/; revision=490137
Diffstat (limited to 'audio/musicpd/files/patch-src_zeroconf_meson.build')
-rw-r--r--audio/musicpd/files/patch-src_zeroconf_meson.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/musicpd/files/patch-src_zeroconf_meson.build b/audio/musicpd/files/patch-src_zeroconf_meson.build
new file mode 100644
index 000000000000..309755061d3f
--- /dev/null
+++ b/audio/musicpd/files/patch-src_zeroconf_meson.build
@@ -0,0 +1,20 @@
+--- src/zeroconf/meson.build.orig 2019-01-04 18:22:21 UTC
++++ src/zeroconf/meson.build
+@@ -30,10 +30,14 @@ if zeroconf_option == 'bonjour'
+ if not compiler.has_header('dns_sd.h')
+ error('dns_sd.h not found')
+ endif
+-
+- bonjour_dep = declare_dependency(link_args: ['-framework', 'dnssd'])
++
++ if is_darwin
++ bonjour_dep = declare_dependency(link_args: ['-framework', 'dnssd'])
++ else
++ bonjour_dep = declare_dependency(link_args: ['-ldns_sd'])
++ endif
+ conf.set('HAVE_BONJOUR', true)
+-
++
+ zeroconf = static_library(
+ 'zeroconf_bonjour',
+ 'ZeroconfGlue.cxx',