Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > a6447e2dbf3894f037ab1d8fc8a7526c > files > 2

synergy-1.13.0-1.mga7.src.rpm

diff -Nrup a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2020-12-29 14:53:13.000000000 +0100
+++ b/CMakeLists.txt	2020-12-30 14:37:06.252367672 +0100
@@ -249,7 +249,7 @@ if (UNIX)
         endif()
 
         if (NOT SYNERGY_ENTERPRISE AND SYNERGY_BUILD_LEGACY_GUI)
-            set (DnsSdlib "dns_sd.h")
+            set (DnsSdlib "avahi-compat-libdns_sd/dns_sd.h")
             set (CMAKE_EXTRA_INCLUDE_FILES "${CMAKE_EXTRA_INCLUDE_FILES};${DnsSdlib}")
             check_include_files ("${DnsSdlib}" HAVE_DNS_SD)
             if (NOT HAVE_DNS_SD)
diff -Nrup a/src/gui/src/ZeroconfBrowser.h b/src/gui/src/ZeroconfBrowser.h
--- a/src/gui/src/ZeroconfBrowser.h	2020-12-29 14:53:13.000000000 +0100
+++ b/src/gui/src/ZeroconfBrowser.h	2020-12-30 14:37:56.327758167 +0100
@@ -22,7 +22,7 @@
 #include <QtCore/QObject>
 #define _MSL_STDINT_H
 #include <stdint.h>
-#include <dns_sd.h>
+#include <avahi-compat-libdns_sd/dns_sd.h>
 
 class QSocketNotifier;
 
diff -Nrup a/src/gui/src/ZeroconfRegister.h b/src/gui/src/ZeroconfRegister.h
--- a/src/gui/src/ZeroconfRegister.h	2020-12-29 14:53:13.000000000 +0100
+++ b/src/gui/src/ZeroconfRegister.h	2020-12-30 14:38:11.151873808 +0100
@@ -29,7 +29,7 @@ class QSocketNotifier;
 #if defined(Q_OS_WIN)
 #define WIN32_LEAN_AND_MEAN
 #endif
-#include <dns_sd.h>
+#include <avahi-compat-libdns_sd/dns_sd.h>
 
 class ZeroconfRegister : public QObject
 {
diff -Nrup a/src/gui/src/ZeroconfService.cpp b/src/gui/src/ZeroconfService.cpp
--- a/src/gui/src/ZeroconfService.cpp	2020-12-29 14:53:13.000000000 +0100
+++ b/src/gui/src/ZeroconfService.cpp	2020-12-30 14:38:26.099990634 +0100
@@ -25,7 +25,7 @@
 #include <QMessageBox>
 #define _MSL_STDINT_H
 #include <stdint.h>
-#include <dns_sd.h>
+#include <avahi-compat-libdns_sd/dns_sd.h>
 
 static const QStringList preferedIPAddress(
                 QStringList() <<