public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/the_foundation] epel10: Remove obsolete patch
Date: Wed, 07 Oct 2026 10:14:43 GMT	[thread overview]
Message-ID: <179136808367.1.7523203565327365681.rpms-the_foundation-aa01afcac40e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/the_foundation
Branch : epel10
Commit : aa01afcac40eeb688547c7ddd8d83c438b1635aa
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-09-15T15:43:22-04:00
Stats  : +0/-62 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/the_foundation/c/aa01afcac40eeb688547c7ddd8d83c438b1635aa?branch=epel10

Log:
Remove obsolete patch

---
diff --git a/the_foundation-glibc-2.43-once_init-compat.diff b/the_foundation-glibc-2.43-once_init-compat.diff
deleted file mode 100644
index 408993e..0000000
--- a/the_foundation-glibc-2.43-once_init-compat.diff
+++ /dev/null
@@ -1,60 +0,0 @@
-From bfee4848f3dfa183a3fce849dfe77a7f12ab1d24 Mon Sep 17 00:00:00 2001
-From: Michel Lind <salimma@fedoraproject.org>
-Date: Fri, 7 Nov 2025 12:13:54 +0000
-Subject: [PATCH] Only define `once_flag`/`call_once` if `glibc` has not
- defined them
-
-`glibc` will define `once_flag` in the forthcoming 2.43 release, see:
-
-https://sourceware.org/git/?p=glibc.git;a=commit;h=a7ddbf456d97ac8d1aa7afd735e196a1488bd874
-
-Do not redefine it and related definitions if they already exist.
-
-Fixes: #33
-
-Signed-off-by: Michel Lind <salimma@fedoraproject.org>
----
- include/the_Foundation/c11threads.h | 2 ++
- src/c11threads.c                    | 4 ++++
- 2 files changed, 6 insertions(+)
-
-diff --git a/include/the_Foundation/c11threads.h b/include/the_Foundation/c11threads.h
-index 8c762f6..70cbec3 100644
---- a/include/the_Foundation/c11threads.h
-+++ b/include/the_Foundation/c11threads.h
-@@ -31,7 +31,9 @@ typedef pthread_t thrd_t;
- typedef pthread_mutex_t mtx_t;
- typedef pthread_cond_t cnd_t;
- typedef pthread_key_t tss_t;
-+#ifndef ONCE_FLAG_INIT
- typedef pthread_once_t once_flag;
-+#endif
- 
- typedef int (*thrd_start_t)(void*);
- typedef void (*tss_dtor_t)(void*);
-diff --git a/src/c11threads.c b/src/c11threads.c
-index 14abb05..0ab9759 100644
---- a/src/c11threads.c
-+++ b/src/c11threads.c
-@@ -33,7 +33,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</small>
- #include <sys/time.h>
- #include <time.h>
- 
-+#ifndef ONCE_FLAG_INIT
- #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
-+#endif
- 
- #ifdef C11THREADS_NO_TIMED_MUTEX
- #  define PTHREAD_MUTEX_TIMED_NP PTHREAD_MUTEX_NORMAL
-@@ -182,6 +184,8 @@ int tss_set(tss_t key, void *val) {
- 
- void *tss_get(tss_t key) { return pthread_getspecific(key); }
- 
-+#ifndef ONCE_FLAG_INIT
- void call_once(once_flag *flag, void (*func)(void)) {
-     pthread_once(flag, func);
- }
-+#endif
--- 
-2.47.3
-

diff --git a/the_foundation.spec b/the_foundation.spec
index 566e831..34990ea 100644
--- a/the_foundation.spec
+++ b/the_foundation.spec
@@ -15,8 +15,6 @@ Summary:        Opinionated C11 library for low-level functionality
 License:        BSD-2-Clause
 URL:            https://codeberg.org/skyjake/the_Foundation
 Source:         %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# Compatibility with glibc 2.43 defining `once_init`
-Patch:          %{url}/pulls/34.patch#/%{name}-glibc-2.43-once_init-compat.diff
 
 BuildRequires:  cmake
 BuildRequires:  gcc

                 reply	other threads:[~2026-10-07 10:14 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=179136808367.1.7523203565327365681.rpms-the_foundation-aa01afcac40e@fedoraproject.org \
    --to=yselkowi@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