public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/methane] rawhide: Fix ppc64le FTBFS
@ 2026-07-21 13:41 Hans de Goede
  0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-07-21 13:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/methane
Branch : rawhide
Commit : 8e3aecc87e9bdb37468d5890b1761f19cf61b2d6
Author : Hans de Goede <johannes.goede@oss.qualcomm.com>
Date   : 2026-07-21T15:31:32+02:00
Stats  : +17/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/methane/c/8e3aecc87e9bdb37468d5890b1761f19cf61b2d6?branch=rawhide

Log:
Fix ppc64le FTBFS

---
diff --git a/methane-3.0.0-ppc64-buildfix.patch b/methane-3.0.0-ppc64-buildfix.patch
new file mode 100644
index 0000000..93fba0e
--- /dev/null
+++ b/methane-3.0.0-ppc64-buildfix.patch
@@ -0,0 +1,12 @@
+diff -up Methane-3.0.0/Sources/TinyClan/Core/System/detect_cpu_ext.cpp~ Methane-3.0.0/Sources/TinyClan/Core/System/detect_cpu_ext.cpp
+--- Methane-3.0.0/Sources/TinyClan/Core/System/detect_cpu_ext.cpp~	2026-04-14 09:40:39.000000000 +0200
++++ Methane-3.0.0/Sources/TinyClan/Core/System/detect_cpu_ext.cpp	2026-07-21 15:29:05.174620410 +0200
+@@ -32,7 +32,7 @@
+ namespace clan
+ {
+ 
+-#if defined(ARM_PLATFORM) || defined(CL_ARM) || defined(__sun) || defined(__riscv) || defined(__loongarch__)
++#if defined(ARM_PLATFORM) || defined(CL_ARM) || defined(__sun) || defined(__riscv) || defined(__loongarch__) || defined(__powerpc64__)
+ 	bool System::detect_cpu_extension(CPU_ExtensionPPC ext)
+ 	{
+ 		throw ("Congratulations, you've just been selected to code this feature!");

diff --git a/methane.spec b/methane.spec
index d032120..a48d30f 100644
--- a/methane.spec
+++ b/methane.spec
@@ -1,6 +1,6 @@
 Name:           methane
 Version:        3.0.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Super Methane Brothers
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
 License:        GPL-2.0-or-later
@@ -10,6 +10,7 @@ Source1:        %{name}.desktop
 Source2:        %{name}.png
 
 Patch0:         0000-missing-includes.patch
+Patch1:         methane-3.0.0-ppc64-buildfix.patch
 
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
@@ -114,6 +115,9 @@ EOF
 %{_datadir}/icons/hicolor/128x128/apps/%{name}.png
 
 %changelog
+* Tue Jul 21 2026 Hans de Goede <johannes.goede@oss.qualcomm.com> - 3.0.0-3
+- Fix ppc64le FTBFS
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-07-21 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 13:41 [rpms/methane] rawhide: Fix ppc64le FTBFS Hans de Goede

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