From 2870d17ee358423062aeb2047c09b4bcb5e487e8 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 4 Oct 2022 17:12:26 +0200 Subject: [PATCH] add new client patch as per debian forum https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009420 patch 0006 (message 12) Signed-off-by: Toshaan Bharvani --- SOURCES/libotr-include-socket.patch | 10 ++++++++++ SPECS/libotr.spec | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 SOURCES/libotr-include-socket.patch 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