From 8f30bd634dc14f4c2def4dc64862c41e7ed757b9 Mon Sep 17 00:00:00 2001 From: J Farkas Date: Tue, 14 Jun 2022 20:07:21 +0000 Subject: [PATCH] libotr: make it compile/test with new tools Package last updated several years ago, toolset was likely more lax then. --- srcpkgs/libotr/patches/regr-socket.patch | 11 +++++++++++ srcpkgs/libotr/template | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/libotr/patches/regr-socket.patch diff --git a/srcpkgs/libotr/patches/regr-socket.patch b/srcpkgs/libotr/patches/regr-socket.patch new file mode 100644 index 000000000000..c76db347631b --- /dev/null +++ b/srcpkgs/libotr/patches/regr-socket.patch @@ -0,0 +1,11 @@ +diff -urpN libotr-4.1.1/tests/regression/client/client.c libotr-4.1.1/tests/regression/client/client.c +--- libotr-4.1.1/tests/regression/client/client.c 2015-12-25 17:39:45.000000000 +0000 ++++ libotr-4.1.1/tests/regression/client/client.c 2022-06-14 19:36:19.015005905 +0000 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/libotr/template b/srcpkgs/libotr/template index e4a0f9266716..cc956d61e41e 100644 --- a/srcpkgs/libotr/template +++ b/srcpkgs/libotr/template @@ -1,13 +1,14 @@ -# Template build file for 'libotr'. +# Template file for 'libotr' pkgname=libotr version=4.1.1 revision=1 build_style=gnu-configure makedepends="libgcrypt-devel" +checkdepends="perl" short_desc="Off-the-Record Messaging Library and Toolkit" maintainer="Orphaned " +license="GPL-2.0-or-later, LGPL-2.1-only" homepage="http://www.cypherpunks.ca/otr/" -license="GPL-2, LGPL-2.1" distfiles="http://www.cypherpunks.ca/otr/libotr-${version}.tar.gz" checksum=8b3b182424251067a952fb4e6c7b95a21e644fbb27fbd5f8af2b2ed87ca419f5