public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rr] epel10.3: Avoid implicit function declaration in test (C99 compatibility)
Date: Tue, 10 Nov 2026 21:34:09 GMT	[thread overview]
Message-ID: <179434644934.1.8464488266415706064.rpms-rr-6db89374ed18@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rr
            Branch : epel10.3
            Commit : 6db89374ed188c4910eea54d3cce5947099b973f
            Author : Florian Weimer <fweimer@redhat.com>
            Date   : 2022-12-03T12:46:33+01:00
            Stats  : +23/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rr/c/6db89374ed188c4910eea54d3cce5947099b973f?branch=epel10.3

            Log:
            Avoid implicit function declaration in test (C99 compatibility)

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>

---
diff --git a/rr-test-include-sys-mount.patch b/rr-test-include-sys-mount.patch
new file mode 100644
index 0000000..ebc8c4b
--- /dev/null
+++ b/rr-test-include-sys-mount.patch
@@ -0,0 +1,18 @@
+test: Include <sys/mount.h> in util.h
+
+The mount_ns_exec test needs it to call the mount function.
+
+Submitted upstream: <https://github.com/rr-debugger/rr/pull/3409>
+
+diff --git a/src/test/util.h b/src/test/util.h
+index ec891db8ce13019b..cb4b978ee730771b 100644
+--- a/src/test/util.h
++++ b/src/test/util.h
+@@ -78,6 +78,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/ipc.h>
+ #include <sys/mman.h>
++#include <sys/mount.h>
+ #include <sys/msg.h>
+ #include <sys/prctl.h>
+ #include <sys/ptrace.h>

diff --git a/rr.spec b/rr.spec
index d666573..b5106c0 100644
--- a/rr.spec
+++ b/rr.spec
@@ -4,7 +4,7 @@
 %global commit da33770d22b404d7333e46e26495eaca0c5a6d8a
 %global gittag 5.6.0
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global baserelease 3
+%global baserelease 4
 
 ExclusiveArch:  %{ix86} x86_64 aarch64
 
@@ -29,6 +29,7 @@ Source: https://github.com/rr-debugger/rr/archive/%{gittag}/%{name}-%{version}.t
 Patch1: rr-mount.patch
 Patch2: rr-time.patch
 Patch3: rr-ethtool-struct.patch
+Patch4: rr-test-include-sys-mount.patch
 
 %if  0%{?rhel} == 7
 BuildRequires: cmake3
@@ -126,6 +127,9 @@ patchelf --set-rpath '%{_libdir}/rr/' %{buildroot}%{_libdir}/rr/testsuite/obj/bi
 %license LICENSE
 
 %changelog
+* Sat Dec  3 2022 Florian Weimer <fweimer@redhat.com> - 5.6.0-4
+- Avoid implicit function declaration in test (C99 compatibility)
+
 * Fri Dec 02 2022 Fabio Valentini <decathorpe@gmail.com> - 5.6.0-3
 - Rebuild for capnproto 0.10.3 / CVE-2022-46149
 

                 reply	other threads:[~2026-11-10 21:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179434644934.1.8464488266415706064.rpms-rr-6db89374ed18@fedoraproject.org \
    --to=fweimer@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox