public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gherkin] rawhide: Fix a missing `#include` needed with the latest GCC
@ 2026-07-16  9:17 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-16  9:17 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-16  9:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16  9:17 [rpms/gherkin] rawhide: Fix a missing `#include` needed with the latest GCC Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox