public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mythes] rawhide: Remove upstreamed patch and build again
@ 2026-11-10 4:22 Parag Nemade
0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-11-10 4:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mythes
Branch : rawhide
Commit : bf360e4e2ee70990f62776d9efe53427fefa9e5b
Author : Parag Nemade <panemade AT redhat DOT com>
Date : 2026-11-10T09:51:57+05:30
Stats : +4/-27 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mythes/c/bf360e4e2ee70990f62776d9efe53427fefa9e5b?branch=rawhide
Log:
Remove upstreamed patch and build again
---
diff --git a/mythes-1.2.6-index-words-shorter-than-MAX_WD_LEN.patch b/mythes-1.2.6-index-words-shorter-than-MAX_WD_LEN.patch
deleted file mode 100644
index e6490ce..0000000
--- a/mythes-1.2.6-index-words-shorter-than-MAX_WD_LEN.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 61597ef51bf9e82d0387a12d5a42ad77f2a572cd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
-Date: Sat, 17 Oct 2026 18:08:39 +0000
-Subject: [PATCH] return no meanings for a word longer than any index word
-
----
- mythes.cxx | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/mythes.cxx b/mythes.cxx
-index e43aca0..9b92a5e 100644
---- a/mythes.cxx
-+++ b/mythes.cxx
-@@ -159,9 +159,9 @@ int MyThes::Lookup(const char * pText, int len, mentry** pme)
- // handle the case of missing file or file related errors
- if (! pdfile) return 0;
-
-- // check we can allocate enough memory for the string
-+ // index words are shorter than MAX_WD_LEN, so a longer word has no entry
- std::vector<char> buffer;
-- if (len < 1 || len > buffer.max_size() - 1) {
-+ if (len < 1 || len >= MAX_WD_LEN) {
- return 0;
- }
diff --git a/mythes.spec b/mythes.spec
index 3b77036..0a622a3 100644
--- a/mythes.spec
+++ b/mythes.spec
@@ -1,11 +1,9 @@
Name: mythes
Summary: A thesaurus library
Version: 1.2.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Source: https://github.com/hunspell/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
URL: https://github.com/hunspell/mythes
-# upstream fix https://github.com/hunspell/mythes/commit/61597ef51bf9e82d0387a12d5a42ad77f2a572cd
-Patch0: mythes-1.2.6-index-words-shorter-than-MAX_WD_LEN.patch
License: BSD-3-Clause-Modification AND MIT
BuildRequires: make
BuildRequires: hunspell-devel, gcc-c++
@@ -55,6 +53,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
%{_bindir}/th_gen_idx.pl
%changelog
+* Tue Nov 10 2026 Parag Nemade <panemade AT redhat DOT com> - 1.2.7-2
+- Remove upstreamed patch and build again
+
* Tue Nov 10 2026 Parag Nemade <pnemade AT redhat DOT com> - 1.2.7-1
- Update to 1.2.7 version (#2568064)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 4:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 4:22 [rpms/mythes] rawhide: Remove upstreamed patch and build again Parag Nemade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox