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 <toshaan@powerel.org>
master
Toshaan Bharvani 2022-10-04 17:12:26 +02:00
parent 5bfa22c1f5
commit 2870d17ee3
2 changed files with 14 additions and 0 deletions

View File

@ -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 <sys/types.h>
#include <sys/un.h>
#include <unistd.h>
+#include <sys/socket.h>
#include <context.h>
#include <privkey.h>

View File

@ -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