public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: josef radinger <cheese@nosuchhost.net>
To: git-commits@fedoraproject.org
Subject: [rpms/schismtracker] rawhide: fix ppc
Date: Mon, 02 Nov 2026 21:27:37 GMT	[thread overview]
Message-ID: <179365485793.1.15078462782036248280.rpms-schismtracker-2e7b0cdd81af@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/schismtracker
Branch : rawhide
Commit : 2e7b0cdd81af30dc1e043301bb221be339a20678
Author : josef radinger <cheese@nosuchhost.net>
Date   : 2026-11-02T22:27:19+01:00
Stats  : +20/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/schismtracker/c/2e7b0cdd81af30dc1e043301bb221be339a20678?branch=rawhide

Log:
fix ppc

---
diff --git a/ppc-minmax.patch b/ppc-minmax.patch
new file mode 100644
index 0000000..c3c7c00
--- /dev/null
+++ b/ppc-minmax.patch
@@ -0,0 +1,14 @@
+--- schismtracker-20261102/include/util-vec.h.orig	2026-11-02 18:51:39.000000000 +0100
++++ schismtracker-20261102/include/util-vec.h	2026-11-02 22:22:10.258053060 +0100
+@@ -24,6 +24,11 @@
+ #ifndef UTIL_VEC_H_
+ #define UTIL_VEC_H_
+ 
++#if defined(__ALTIVEC__) && !defined(minmax_8_final_spec)
++typedef void* minmax_8_final_spec;
++typedef void* minmax_16_final_spec;
++#endif
++
+ #define MINMAX_INTRINSICS_EX(EXTERN, TARGET, NAME, TYPE, BITS, SIZE, VARS, PREFIX, SUFFIX, PREPROCESS, SET1, LOADU, MIN, MAX, STORE) \
+ 	__attribute__((__target__(#TARGET))) \
+ 	EXTERN void minmax_##BITS##_##NAME(const int##BITS##_t *buf, size_t len, int##BITS##_t *min, int##BITS##_t *max, size_t stride, \

diff --git a/schismtracker.spec b/schismtracker.spec
index e2035cc..b319ed7 100644
--- a/schismtracker.spec
+++ b/schismtracker.spec
@@ -10,6 +10,8 @@ Source0:   https://github.com/schismtracker/schismtracker/archive/%{version}.tar
 #Patch1:    https://github.com/schismtracker/schismtracker/commit/ee6798584b26856260bccca7b8f7730b221b1c0e.patch
 # taken from: https://raw.githubusercontent.com/chimera-linux/cports/refs/heads/master/main/schismtracker/patches/ppc64le-vec.patch
 #Patch1:     ppc64le-vec.patch
+# fix Patch1
+Patch1:      ppc-minmax.patch
 
 Excludearch:   s390x
 Requires:      hicolor-icon-theme
@@ -37,9 +39,9 @@ is mostly text-based using SDL for graphical output.
 %setup -q
 mkdir auto
 
-#%%ifarch ppc64le
-#%%patch -P1 -p1
-#%%endif
+%ifarch ppc64le
+%patch -P1 -p1
+%endif
 
 %build
 autoreconf -i
@@ -75,7 +77,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/schism.desktop
 * Mon Nov 02 2026 josef radinger <cheese@nosuchhost.net> - 20261102-1
 - bump version
 - fix date in changelog
-- remove patch1
+- modify patch1
 
 * Tue Aug 25 2026 josef radinger <cheese@nosuchhost.net> - 20260524-4
 - replace Patch1

                 reply	other threads:[~2026-11-02 21:27 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=179365485793.1.15078462782036248280.rpms-schismtracker-2e7b0cdd81af@fedoraproject.org \
    --to=cheese@nosuchhost.net \
    --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