Browse Source

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 2 years ago
parent
commit
2870d17ee3
  1. 10
      SOURCES/libotr-include-socket.patch
  2. 4
      SPECS/libotr.spec

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

4
SPECS/libotr.spec

@ -5,6 +5,8 @@ Version: 4.1.1
Release: 13%{?dist} Release: 13%{?dist}
License: GPLv2 and LGPLv2 License: GPLv2 and LGPLv2
Source0: http://otr.cypherpunks.ca/%{name}-%{version}.tar.gz 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/ Url: http://otr.cypherpunks.ca/
Provides: libotr-toolkit = %{version} Provides: libotr-toolkit = %{version}
Obsoletes: libotr-toolkit < %{version} Obsoletes: libotr-toolkit < %{version}
@ -33,6 +35,8 @@ The devel package contains the libotr library and include files.


%prep %prep
%setup -q %setup -q
%patch0 -p0
%patch1 -p0


%if %{snapshot} %if %{snapshot}
aclocal aclocal

Loading…
Cancel
Save