mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
shairplay: Update to 2018-08-24
Switched to codeload for easier package bumping. Added PKG_BUILD_PARALLEL for faster compilation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
--- a/src/lib/dnssd.c
|
||||
+++ b/src/lib/dnssd.c
|
||||
@@ -167,7 +167,7 @@ dnssd_init(int *error)
|
||||
return NULL;
|
||||
}
|
||||
#elif USE_LIBDL
|
||||
- dnssd->module = dlopen("libdns_sd.so", RTLD_LAZY);
|
||||
+ dnssd->module = dlopen("libdns_sd.so.1", RTLD_LAZY);
|
||||
if (!dnssd->module) {
|
||||
if (error) *error = DNSSD_ERROR_LIBNOTFOUND;
|
||||
free(dnssd);
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
From 031c3d802e51bbc233b1044f812402a66bfcf237 Mon Sep 17 00:00:00 2001
|
||||
From: Memphiz <memphis@machzwo.de>
|
||||
Date: Fri, 21 Dec 2018 20:39:11 +0100
|
||||
Subject: [PATCH] [configure] - only check for dns_sd.h in case libdl was not
|
||||
found
|
||||
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5a4b8ad..682d74b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -19,7 +19,7 @@ LT_LIB_DLLOAD
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
-if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
|
||||
+if test no = "$libltdl_cv_func_dlopen" && test no = "$libltdl_cv_lib_dl_dlopen"
|
||||
then
|
||||
AC_CHECK_HEADERS([dns_sd.h], [],
|
||||
[AC_MSG_ERROR([Could not find dns_sd.h header, please install libavahi-compat-libdnssd-dev or equivalent.])])
|
||||
--
|
||||
2.17.1
|
||||
|
||||
Reference in New Issue
Block a user