public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/planarity] rawhide: Version 5.1.0.0
@ 2026-09-10 20:07 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-09-10 20:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/planarity
Branch : rawhide
Commit : 1634e31788f8aff9d4552d37e7665bf7519f7216
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-09-10T14:07:00-06:00
Stats : +23/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/planarity/c/1634e31788f8aff9d4552d37e7665bf7519f7216?branch=rawhide
Log:
Version 5.1.0.0
---
diff --git a/planarity-discarded-const.patch b/planarity-discarded-const.patch
new file mode 100644
index 0000000..5ceac6c
--- /dev/null
+++ b/planarity-discarded-const.patch
@@ -0,0 +1,18 @@
+Fixes this warning:
+
+c/planarityApp/planarityTestAllGraphs.c: In function ‘outputTestAllGraphsResults’:
+c/planarityApp/planarityTestAllGraphs.c:245:24: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
+ 245 | char *finalSlash = strrchr(infileName, FILE_DELIMITER);
+ | ^~~~~~~
+
+--- edge-addition-planarity-suite-Version_5.1.0.0/c/planarityApp/planarityTestAllGraphs.c.orig 2026-09-08 09:30:08.000000000 -0600
++++ edge-addition-planarity-suite-Version_5.1.0.0/c/planarityApp/planarityTestAllGraphs.c 2026-09-10 11:18:31.970965829 -0600
+@@ -242,7 +242,7 @@ int outputTestAllGraphsResults(char comm
+ {
+ int Result = OK;
+
+- char *finalSlash = strrchr(infileName, FILE_DELIMITER);
++ char const *finalSlash = strrchr(infileName, FILE_DELIMITER);
+ char const *infileBasename = finalSlash ? (finalSlash + 1) : infileName;
+
+ char const *headerFormat = "FILENAME=\"%s\" DURATION=\"%.3lf\"\n";
diff --git a/planarity.spec b/planarity.spec
index 479ffb6..34cedd9 100644
--- a/planarity.spec
+++ b/planarity.spec
@@ -1,11 +1,14 @@
Name: planarity
Summary: Implementations of several planarity-related graph algorithms
-Version: 5.0.0.0
+Version: 5.1.0.0
Release: %autorelease
License: BSD-3-Clause
URL: https://github.com/graph-algorithms/edge-addition-planarity-suite
VCS: git:%{url}.git
Source: %{url}/archive/Version_%{version}/%{name}-%{version}.tar.gz
+# Add a discarded const qualifier
+# https://github.com/graph-algorithms/edge-addition-planarity-suite/pull/334
+Patch: %{name}-discarded-const.patch
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
diff --git a/sources b/sources
index 031a1ac..82f554d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (planarity-5.0.0.0.tar.gz) = cee3724e24a08b1c874dd7db68c33270ef96f0369edc592257cfbf98e16b6d0f507b00b3a68be9d17ac6e3a050e865d6760581bafe7567e8d2159deb0fdc74fd
+SHA512 (planarity-5.1.0.0.tar.gz) = c54b13e4696c4779722c03e6a2cf1448047145ad575a3de8a2bd68b422dd7bd2dbd48a8909dd2a3a71bd0b68cb1c591c85d246afc0ea9fb68df08032c3b40212
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-10 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 20:07 [rpms/planarity] rawhide: Version 5.1.0.0 Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox