Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mrouted for openSUSE:Factory checked 
in at 2025-10-28 15:29:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mrouted (Old)
 and      /work/SRC/openSUSE:Factory/.mrouted.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mrouted"

Tue Oct 28 15:29:29 2025 rev:11 rq:1314070 version:4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/mrouted/mrouted.changes  2024-11-21 
15:18:57.930296410 +0100
+++ /work/SRC/openSUSE:Factory/.mrouted.new.1980/mrouted.changes        
2025-10-28 15:29:36.059238625 +0100
@@ -1,0 +2,6 @@
+Mon Oct 27 19:42:01 UTC 2025 - Martin Hauke <[email protected]>
+
+- Add patch:
+  * 0001-C23-compatibility.patch
+
+-------------------------------------------------------------------

New:
----
  0001-C23-compatibility.patch

----------(New B)----------
  New:- Add patch:
  * 0001-C23-compatibility.patch
----------(New E)----------

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

Other differences:
------------------
++++++ mrouted.spec ++++++
--- /var/tmp/diff_new_pack.gouhTo/_old  2025-10-28 15:29:36.543258933 +0100
+++ /var/tmp/diff_new_pack.gouhTo/_new  2025-10-28 15:29:36.547259100 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package mrouted
 #
-# Copyright (c) 2024 SUSE LLC
-# Copyright (c) 2018-2024, Martin Hauke <[email protected]>
+# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2018-2025, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 #Git-Clone:     https://github.com/troglobit/mrouted.git
 Source:         
https://github.com/troglobit/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         harden_mrouted.service.patch
+Patch1:         0001-C23-compatibility.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison

++++++ 0001-C23-compatibility.patch ++++++
>From 9faf45f67970778277c533cc7acbe3c73bfe11c2 Mon Sep 17 00:00:00 2001
From: Philippe Troin <[email protected]>
Date: Wed, 23 Apr 2025 16:04:20 -0700
Subject: [PATCH] C23 compatibility.

bool is a keyword in C23.
---
 src/kern.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/kern.c b/src/kern.c
index 27f8dd4..04f1c36 100644
--- a/src/kern.c
+++ b/src/kern.c
@@ -104,11 +104,11 @@ void k_set_rcvbuf(int bufsize, int minsize)
  * in the kernel and "panic". The kernel patch for netinet/ip_raw.c
  * coming with this distribution fixes it.
  */
-void k_hdr_include(int bool)
+void k_hdr_include(int flag)
 {
 #ifdef IP_HDRINCL
-    if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &bool, sizeof(bool)) < 
0)
-        logit(LOG_ERR, errno, "Failed setting socket IP_HDRINCL %u", bool);
+    if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &flag, sizeof(flag)) < 
0)
+        logit(LOG_ERR, errno, "Failed setting socket IP_HDRINCL %u", flag);
 #endif
 }
 
-- 
2.51.1

Reply via email to