public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Hans de Goede <johannes.goede@oss.qualcomm.com>
To: git-commits@fedoraproject.org
Subject: [rpms/methane] rawhide: Fix ppc64le FTBFS
Date: Tue, 21 Jul 2026 13:41:56 GMT	[thread overview]
Message-ID: <178464131641.1.4623069503507044999.rpms-methane-8e3aecc87e9b@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-07-21 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178464131641.1.4623069503507044999.rpms-methane-8e3aecc87e9b@fedoraproject.org \
    --to=johannes.goede@oss.qualcomm.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox