public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-graph-tool] f43: Patch for GCC 16
@ 2026-07-16 17:51 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-16 17:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-graph-tool
Branch : f43
Commit : 3356fb7626b461ab06e2fcb5967e9c8a3df40da7
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-01-15T21:09:32+00:00
Stats  : +29/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-graph-tool/c/3356fb7626b461ab06e2fcb5967e9c8a3df40da7?branch=f43

Log:
Patch for GCC 16

---
diff --git a/78.patch b/78.patch
new file mode 100644
index 0000000..fab4c5f
--- /dev/null
+++ b/78.patch
@@ -0,0 +1,25 @@
+From 0e0ad9912e8e230a63bfd1ba5a0dbcc0e6b66569 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Thu, 15 Jan 2026 18:15:31 +0000
+Subject: [PATCH] Fix invalid conversion from 'const char8_t*' to 'const char*'
+
+---
+ src/graph/graph_io_binary.hh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/graph/graph_io_binary.hh b/src/graph/graph_io_binary.hh
+index 72b5cd14..616b9c42 100644
+--- a/src/graph/graph_io_binary.hh
++++ b/src/graph/graph_io_binary.hh
+@@ -27,7 +27,7 @@
+ namespace graph_tool
+ {
+ 
+-constexpr const char* _magic = u8"⛾ gt";
++constexpr const char* _magic = "\xe2\x9b\xbe gt";
+ constexpr const size_t _magic_length = 6;
+ constexpr const uint8_t _version = 1;
+ 
+-- 
+GitLab
+

diff --git a/python-graph-tool.spec b/python-graph-tool.spec
index 7ed6fcc..0263ef1 100644
--- a/python-graph-tool.spec
+++ b/python-graph-tool.spec
@@ -56,6 +56,10 @@ License:        %{shrink:
 URL:            https://graph-tool.skewed.de/
 Source:         https://downloads.skewed.de/graph-tool/graph-tool-%{version}.tar.bz2
 
+# Fix invalid conversion from 'const char8_t*' to 'const char*'
+# https://git.skewed.de/count0/graph-tool/-/merge_requests/78
+Patch:          https://git.skewed.de/count0/graph-tool/-/merge_requests/78.patch
+
 # Note that upstream sets the optimization flag -O3. Per
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags,
 # we should normally patch this out in order to fully respect the system

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 17:51 [rpms/python-graph-tool] f43: Patch for GCC 16 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