public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/gherkin] rawhide: Fix a missing `#include` needed with the latest GCC
Date: Thu, 16 Jul 2026 09:17:29 GMT	[thread overview]
Message-ID: <178419344976.1.18273781489486703819.rpms-gherkin-9ab59540dc92@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gherkin
Branch : rawhide
Commit : 9ab59540dc926d148fbc96705e015e387fdadc59
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-16T10:17:10+01:00
Stats  : +14/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gherkin/c/9ab59540dc926d148fbc96705e015e387fdadc59?branch=rawhide

Log:
Fix a missing `#include` needed with the latest GCC

---
diff --git a/gherkin-41.0.0-cstring.patch b/gherkin-41.0.0-cstring.patch
new file mode 100644
index 0000000..4039223
--- /dev/null
+++ b/gherkin-41.0.0-cstring.patch
@@ -0,0 +1,9 @@
+diff --git a/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp b/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp
+index 0497842fc..1f02ad022 100644
+--- a/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp
++++ b/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp
+@@ -1,3 +1,4 @@
++#include <cstring>
+ #include <sstream>
+ 
+ #include <cucumber/gherkin/exceptions.hpp>

diff --git a/gherkin.spec b/gherkin.spec
index 9dd9fa4..f9b734e 100644
--- a/gherkin.spec
+++ b/gherkin.spec
@@ -21,6 +21,11 @@ Version:        41.0.0
 Release:        %autorelease
 Summary:        A parser and compiler for the Gherkin language
 
+# Fix a missing #include <cstring>; excerpted from a massive commit containing
+# other unrelated changes,
+# https://github.com/cucumber/gherkin/commit/39d5a71caaa2b6e90042a043525c8e6cd8a7be09.
+Patch:          gherkin-41.0.0-cstring.patch
+
 License:        MIT
 URL:            https://github.com/cucumber/gherkin
 Source:         %{url}/archive/v%{version}/gherkin-%{version}.tar.gz

                 reply	other threads:[~2026-07-16  9:17 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=178419344976.1.18273781489486703819.rpms-gherkin-9ab59540dc92@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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