Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package aria2 for openSUSE:Factory checked 
in at 2026-07-14 13:54:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aria2 (Old)
 and      /work/SRC/openSUSE:Factory/.aria2.new.1991 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aria2"

Tue Jul 14 13:54:42 2026 rev:86 rq:1365619 version:1.37.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/aria2/aria2.changes      2023-11-21 
21:34:17.400374778 +0100
+++ /work/SRC/openSUSE:Factory/.aria2.new.1991/aria2.changes    2026-07-14 
13:57:10.649902111 +0200
@@ -1,0 +2,7 @@
+Tue Jul 14 09:41:02 UTC 2026 - Pedro Monreal <[email protected]>
+
+- Fix build with Nettle 4.0 [be1caa2d] (bsc#1257934)
+  * Upstream PR in #2358
+  * Add aria2-Fix-build-with-nette4.patch
+
+-------------------------------------------------------------------

New:
----
  aria2-Fix-build-with-nette4.patch

----------(New B)----------
  New:  * Upstream PR in #2358
  * Add aria2-Fix-build-with-nette4.patch
----------(New E)----------

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

Other differences:
------------------
++++++ aria2.spec ++++++
--- /var/tmp/diff_new_pack.0Mbn3Q/_old  2026-07-14 13:57:11.237922243 +0200
+++ /var/tmp/diff_new_pack.0Mbn3Q/_new  2026-07-14 13:57:11.237922243 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package aria2
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,9 +21,11 @@
 Version:        1.37.0
 Release:        0
 Summary:        Parallelizing Multi-Protocol Utility for Downloading Files
-License:        SUSE-GPL-2.0-with-openssl-exception
+License:        LicenseRef-SUSE-GPL-2.0-with-openssl-exception
 URL:            https://aria2.github.io
 Source0:        
https://github.com/aria2/aria2/releases/download/release-%{version}/%{name}-%{version}.tar.xz
+#PATCH-FIX-UPSTREAM bsc#1257934 Fix build with Nettle 4.0
+Patch0:         aria2-Fix-build-with-nette4.patch
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(cppunit)
@@ -79,7 +81,7 @@
 This package contains development files for its shared library.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure \

++++++ aria2-Fix-build-with-nette4.patch ++++++
>From be1caa2db4912df28d4d9236beb64e7a17b8cdfe Mon Sep 17 00:00:00 2001
From: Antonio Rojas <[email protected]>
Date: Tue, 19 May 2026 16:20:16 +0800
Subject: [PATCH] Fix build against nettle 4.0

---
 src/LibnettleMessageDigestImpl.cc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/LibnettleMessageDigestImpl.cc 
b/src/LibnettleMessageDigestImpl.cc
index c6c2d7cec6..d85c42ed37 100644
--- a/src/LibnettleMessageDigestImpl.cc
+++ b/src/LibnettleMessageDigestImpl.cc
@@ -36,6 +36,7 @@
 #include "MessageDigestImpl.h"
 
 #include <nettle/nettle-meta.h>
+#include <nettle/version.h>
 
 #include "Adler32MessageDigestImpl.h"
 
@@ -69,7 +70,11 @@ class MessageDigestBase : public MessageDigestImpl {
   }
   virtual void digest(unsigned char* md) CXX11_OVERRIDE
   {
+#if NETTLE_VERSION_MAJOR > 3
+    hash->digest(ctx_.get(), md);
+#else
     hash->digest(ctx_.get(), getDigestLength(), md);
+#endif
   }
 
 private:

Reply via email to