Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libotr for openSUSE:Factory checked 
in at 2022-11-27 12:52:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libotr (Old)
 and      /work/SRC/openSUSE:Factory/.libotr.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libotr"

Sun Nov 27 12:52:49 2022 rev:23 rq:1038307 version:4.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libotr/libotr.changes    2018-10-02 
19:41:49.290173985 +0200
+++ /work/SRC/openSUSE:Factory/.libotr.new.1597/libotr.changes  2022-11-27 
12:52:57.595182840 +0100
@@ -1,0 +2,6 @@
+Fri Nov 25 19:32:01 UTC 2022 - Pedro Monreal <pmonr...@suse.com>
+
+- Add sys/socket.h to the test suite that FTBFS without the include
+  * Add libotr-4.1.1-include-socket.h.patch
+
+-------------------------------------------------------------------

New:
----
  libotr-4.1.1-include-socket.h.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libotr.spec ++++++
--- /var/tmp/diff_new_pack.wfLOZo/_old  2022-11-27 12:52:58.263186716 +0100
+++ /var/tmp/diff_new_pack.wfLOZo/_new  2022-11-27 12:52:58.267186739 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libotr
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,15 +20,16 @@
 Version:        4.1.1
 Release:        0
 Summary:        "Off The Record" messaging library toolkit
-License:        LGPL-2.1-only AND GPL-2.0-only
+License:        GPL-2.0-only AND LGPL-2.1-only
 Group:          Development/Libraries/C and C++
-Url:            https://www.cypherpunks.ca/otr/
+URL:            https://www.cypherpunks.ca/otr/
 Source:         https://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
 Source1:        https://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz.asc
 Source2:        http://www.cypherpunks.ca/otr/gpgkey.asc#/libotr.keyring
 Patch0:         libotr-4.1.1-fix-base64-tests.patch
 Patch1:         libotr-test-underrun.patch
 Patch2:         libotr-test-uninitialized.patch
+Patch3:         libotr-4.1.1-include-socket.h.patch
 BuildRequires:  libgcrypt-devel >= 1.2.0
 BuildRequires:  pkgconfig
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -67,7 +68,7 @@
 
 %package devel
 Summary:        Include files and development libraries
-License:        LGPL-2.1-only AND GPL-2.0-only
+License:        GPL-2.0-only AND LGPL-2.1-only
 Group:          Development/Libraries/C and C++
 Requires:       libgcrypt-devel
 Requires:       libotr5 = %{version}
@@ -93,10 +94,7 @@
 conversation is compromised.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%autosetup -p1
 
 %build
 %ifarch %arm

++++++ libotr-4.1.1-include-socket.h.patch ++++++
From: Rhonda D'Vine <rho...@debian.org>
Date: Thu, 12 May 2022 08:57:07 +0200
Bug-Debian: https://bugs.debian.org/1009420
Forwarded: no
Subject: test suite fails to build without the include

--- a/tests/regression/client/client.c
+++ b/tests/regression/client/client.c
@@ -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>

Reply via email to