attempt to patch to fix synergyc crash on synergys resume from suspend [release 1.14.6.19-2mamba;Fri May 26 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:16:31 +01:00
parent 1c085d584e
commit 79d1369243
2 changed files with 33 additions and 7 deletions

View File

@ -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);
}
}

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.14.6.19-2mamba
- attempt to patch to fix synergyc crash on synergys resume from suspend
* Thu May 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.6.19-1mamba
- update to 1.14.6.19
* Mon Mar 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.6.13-1mamba
- update to 1.14.6.13