diff --git a/SOURCES/libotr-include-socket.patch b/SOURCES/libotr-include-socket.patch new file mode 100644 index 0000000..eaa89d1 --- /dev/null +++ b/SOURCES/libotr-include-socket.patch @@ -0,0 +1,10 @@ +--- tests/regression/client/client.c 2022-10-04 17:06:09.291000000 +0200 ++++ tests/regression/client/client.c 2022-10-04 17:04:53.477000000 +0200 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/SPECS/libotr.spec b/SPECS/libotr.spec index b569e7a..acd3b68 100644 --- a/SPECS/libotr.spec +++ b/SPECS/libotr.spec @@ -5,6 +5,8 @@ Version: 4.1.1 Release: 13%{?dist} License: GPLv2 and LGPLv2 Source0: http://otr.cypherpunks.ca/%{name}-%{version}.tar.gz +Patch0: libotr-4.1.1-versioning.patch +Patch1: libotr-include-socket.patch Url: http://otr.cypherpunks.ca/ Provides: libotr-toolkit = %{version} Obsoletes: libotr-toolkit < %{version} @@ -33,6 +35,8 @@ The devel package contains the libotr library and include files. %prep %setup -q +%patch0 -p0 +%patch1 -p0 %if %{snapshot} aclocal