diff --git a/synergy-core-1.14.6.19-fix-ipv6-filtering-and-crash.patch b/synergy-core-1.14.6.19-fix-ipv6-filtering-and-crash.patch new file mode 100644 index 0000000..3bce670 --- /dev/null +++ b/synergy-core-1.14.6.19-fix-ipv6-filtering-and-crash.patch @@ -0,0 +1,16 @@ +--- synergy-core-1.14.6.19/src/lib/net/NetworkAddress.cpp.orig 2023-05-26 12:03:36.888389196 +0200 ++++ synergy-core-1.14.6.19/src/lib/net/NetworkAddress.cpp 2023-05-26 12:04:09.368276426 +0200 +@@ -154,12 +154,7 @@ + { + auto addresses = ARCH->nameToAddr(m_hostname); + for (auto address : addresses) { +- if (ARCH->getAddrFamily(address) == IArchNetwork::kINET) { +- ipv4OnlyAddresses.emplace_back(address); +- } +- else { +- ARCH->closeAddr(address); +- } ++ ipv4OnlyAddresses.emplace_back(address); + } + } + diff --git a/synergy.spec b/synergy.spec index 9b968f3..0f81214 100644 --- a/synergy.spec +++ b/synergy.spec @@ -1,17 +1,18 @@ Name: synergy -Version: 1.14.6.13 -Release: 1mamba +Version: 1.14.6.19 +Release: 2mamba Summary: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://symless.com/synergy/blog -Source: https://github.com/symless/synergy-core.git/%{version}-snapshot/synergy-core-%{version}.tar.bz2 +Source: https://github.com/symless/synergy-core.git/%{version}-stable/synergy-core-%{version}.tar.bz2 Patch0: synergy-noignoreretval.diff Patch1: synergy-implicit-declaration.patch Patch2: synergy-1.4.12-cryptopp-5.6.2.patch Patch3: synergy-1.10.1-libqt5-5.12.2.patch +Patch4: synergy-core-1.14.6.19-fix-ipv6-filtering-and-crash.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -42,12 +43,15 @@ Redirecting the mouse and keyboard is as simple as moving the mouse off the edge %prep %setup -q -n synergy-core-%{version} #%patch3 -p1 +%patch 4 -p1 %build -%cmake -d build \ - -DSYNERGY_REVISION="00000000" \ - -DCMAKE_CXX_FLAGS="`pkg-config --cflags libdns_sd`" \ - -DCMAKE_REQUIRED_INCLUDES="%{_includedir}/avahi-compat-libdns_sd" +%cmake -d build + +#\ +# -DSYNERGY_REVISION="00000000" \ +# -DCMAKE_CXX_FLAGS="`pkg-config --cflags libdns_sd`" \ +# -DCMAKE_REQUIRED_INCLUDES="%{_includedir}/avahi-compat-libdns_sd" %make @@ -70,6 +74,12 @@ Redirecting the mouse and keyboard is as simple as moving the mouse off the edge %doc LICENSE doc/synergy.conf.example %changelog +* Fri May 26 2023 Silvan Calarco 1.14.6.19-2mamba +- attempt to patch to fix synergyc crash on synergys resume from suspend + +* Thu May 25 2023 Silvan Calarco 1.14.6.19-1mamba +- update to 1.14.6.19 + * Mon Mar 06 2023 Silvan Calarco 1.14.6.13-1mamba - update to 1.14.6.13