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] f45: fix compilation for ppc64le
Date: Tue, 25 Aug 2026 14:28:27 GMT	[thread overview]
Message-ID: <178766810733.1.16681303157800189571.rpms-schismtracker-52ca141668df@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/schismtracker
Branch : f45
Commit : 52ca141668dff438038474cd86e5da5bfb16492d
Author : josef radinger <cheese@nosuchhost.net>
Date   : 2026-08-25T16:10:44+02:00
Stats  : +30/-6 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/schismtracker/c/52ca141668dff438038474cd86e5da5bfb16492d?branch=f45

Log:
fix compilation for ppc64le

---
diff --git a/ppc64le-vec.patch b/ppc64le-vec.patch
new file mode 100644
index 0000000..4d31bb9
--- /dev/null
+++ b/ppc64le-vec.patch
@@ -0,0 +1,24 @@
+diff --git a/schism/util.c b/schism/util.c
+index 486058d..3cd5c3a 100644
+--- a/schism/util.c
++++ b/schism/util.c
+@@ -478,15 +478,15 @@ vector signed short altivec_set1_s16(signed short x)
+ #define altivec_load_unaligned_(x) vec_perm(vec_ld(0, x), vec_ld(16, x), vec_lvsl(0, x))
+ 
+ static inline SCHISM_ALWAYS_INLINE
+-vector signed char altivec_loadu_s8(const void *x)
++vector signed char altivec_loadu_s8(const vector signed char *x)
+ {
+-	return altivec_load_unaligned_(x);
++	return altivec_load_unaligned_((const signed char *)x);
+ }
+ 
+ static inline SCHISM_ALWAYS_INLINE
+-vector signed short altivec_loadu_s16(const void *x)
++vector signed short altivec_loadu_s16(const vector signed short *x)
+ {
+-	return altivec_load_unaligned_(x);
++	return altivec_load_unaligned_((const signed short *)x);
+ }
+ 
+ #define altivec_store(arr, x) (vec_st(x, 0, arr))

diff --git a/schismtracker.spec b/schismtracker.spec
index cc8a7a0..e0a087c 100644
--- a/schismtracker.spec
+++ b/schismtracker.spec
@@ -1,6 +1,6 @@
 Name:      schismtracker
 Version:   20260524
-Release:   3%{?dist}
+Release:   4%{?dist}
 Summary:   Sound module composer/player
 # Automatically converted from old format: GPLv2 - review is highly recommended.
 License:   GPL-2.0-only
@@ -42,12 +42,7 @@ mkdir auto
 %build
 autoreconf -i
 
-# disable altivec for now to fix compile
-
 %configure --disable-dependency-tracking \
-%ifarch ppc64le
---disable-altivec \
-%endif
 %if 0%{?_without_x:1}
 --with-x=no \
 %endif
@@ -75,6 +70,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/schism.desktop
 %{_datadir}/pixmaps/schism*.png
 
 %changelog
+- replace Patch1
+  https://github.com/schismtracker/schismtracker/commit/ee6798584b26856260bccca7b8f7730b221b1c0e.patch
+  with
+  https://raw.githubusercontent.com/chimera-linux/cports/refs/heads/master/main/schismtracker/patches/ppc64le-vec.patch
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 20260524-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-08-25 14:28 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=178766810733.1.16681303157800189571.rpms-schismtracker-52ca141668df@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