public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/schismtracker] rawhide: fix ppc
@ 2026-11-02 21:27 josef radinger
0 siblings, 0 replies; only message in thread
From: josef radinger @ 2026-11-02 21:27 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 21:27 [rpms/schismtracker] rawhide: fix ppc josef radinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox