Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] webrtc-audio-processing: fix for i686-musl build
@ 2024-07-25 11:23 xeroxslayer
  2024-07-25 14:12 ` [PR REVIEW] " sgn
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: xeroxslayer @ 2024-07-25 11:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

There is a new pull request by xeroxslayer against master on the void-packages repository

https://github.com/xeroxslayer/void-packages webrtc-audio-processing
https://github.com/void-linux/void-packages/pull/51443

webrtc-audio-processing: fix for i686-musl build
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: x86_64-musl, i686-musl (with `-A i686-musl`)
- I built this PR locally for these architectures:
  - x86_64 (`-A x86_64` on x86_64-musl)
  - i686 (`-A i686` on x86_64-musl)
  - aarch64 (`-A x86_64 -a aarch64` on x86_64-musl)
  - aarch64-musl (`-A x86_64-musl -a aarch64-musl` on x86_64-musl)
  - armv7l (`-A i686 -a armv7l` on x86_64-musl)
  - armv7l-musl (`-A i686-musl -a armv7l-musl` on x86_64-musl)

PS: Sorry for the new PR, I messed something up when squashing.

A patch file from https://github.com/void-linux/void-packages/pull/51443.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-webrtc-audio-processing-51443.patch --]
[-- Type: text/x-diff, Size: 988 bytes --]

From aceb082cb80127a9a669453e3dbc50f1442aa40f Mon Sep 17 00:00:00 2001
From: xeroxslayer <xeroxslayer@proton.me>
Date: Thu, 25 Jul 2024 13:22:45 +0200
Subject: [PATCH] webrtc-audio-processing: fix for i686-musl build

---
 srcpkgs/webrtc-audio-processing/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/webrtc-audio-processing/template b/srcpkgs/webrtc-audio-processing/template
index e5277d17e0b9e3..e8d6f805c35840 100644
--- a/srcpkgs/webrtc-audio-processing/template
+++ b/srcpkgs/webrtc-audio-processing/template
@@ -13,7 +13,7 @@ distfiles="${FREEDESKTOP_SITE}/pulseaudio/webrtc-audio-processing/webrtc-audio-p
 checksum=95552fc17faa0202133707bbb3727e8c2cf64d4266fe31bfdb2298d769c1db75
 
 # Upstream issue: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5
-if [ "$XBPS_MACHINE" = "i686" ]; then
+if [[ "$XBPS_TARGET_MACHINE" = "i686"* ]]; then
 	CXXFLAGS="-DPFFFT_SIMD_DISABLE=1"
 	CFLAGS="-DPFFFT_SIMD_DISABLE=1"
 fi

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PR PATCH] webrtc-audio-processing: fix for i686-musl build
@ 2024-07-24 14:25 xeroxslayer
  2024-07-24 14:29 ` [PR REVIEW] " classabbyamp
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: xeroxslayer @ 2024-07-24 14:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

There is a new pull request by xeroxslayer against master on the void-packages repository

https://github.com/xeroxslayer/void-packages webrtc-audio-processing
https://github.com/void-linux/void-packages/pull/51424

webrtc-audio-processing: fix for i686-musl build
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: x86_64-musl, i686-musl (with `-A i686-musl`)
- I built this PR locally for these architectures:
  - x86_64 (`-A x86_64` on x86_64-musl)
  - i686 (`-A i686` on x86_64-musl)
  - aarch64 (`-A x86_64 -a aarch64` on x86_64-musl)
  - aarch64-musl (`-A x86_64-musl -a aarch64-musl` on x86_64-musl)
  - armv7l (`-A i686 -a armv7l` on x86_64-musl)
  - armv7l-musl (`-A i686-musl -a armv7l-musl` on x86_64-musl)


A patch file from https://github.com/void-linux/void-packages/pull/51424.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-webrtc-audio-processing-51424.patch --]
[-- Type: text/x-diff, Size: 986 bytes --]

From 35d5d5260bc01998eb31957d4450e94788aa7927 Mon Sep 17 00:00:00 2001
From: xeroxslayer <xeroxslayer@proton.me>
Date: Wed, 24 Jul 2024 16:06:08 +0200
Subject: [PATCH] Fix i686-musl build

---
 srcpkgs/webrtc-audio-processing/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/webrtc-audio-processing/template b/srcpkgs/webrtc-audio-processing/template
index e5277d17e0b9e3..5ee8c56f0ac173 100644
--- a/srcpkgs/webrtc-audio-processing/template
+++ b/srcpkgs/webrtc-audio-processing/template
@@ -13,7 +13,7 @@ distfiles="${FREEDESKTOP_SITE}/pulseaudio/webrtc-audio-processing/webrtc-audio-p
 checksum=95552fc17faa0202133707bbb3727e8c2cf64d4266fe31bfdb2298d769c1db75
 
 # Upstream issue: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5
-if [ "$XBPS_MACHINE" = "i686" ]; then
+if [ "$XBPS_MACHINE" = "i686" ] || [ "$XBPS_MACHINE" = "i686-musl" ]; then
 	CXXFLAGS="-DPFFFT_SIMD_DISABLE=1"
 	CFLAGS="-DPFFFT_SIMD_DISABLE=1"
 fi

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-07-25 18:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-25 11:23 [PR PATCH] webrtc-audio-processing: fix for i686-musl build xeroxslayer
2024-07-25 14:12 ` [PR REVIEW] " sgn
2024-07-25 15:38 ` xeroxslayer
2024-07-25 18:13 ` classabbyamp
2024-07-25 18:30 ` [PR PATCH] [Merged]: " classabbyamp
  -- strict thread matches above, loose matches on Subject: below --
2024-07-24 14:25 [PR PATCH] " xeroxslayer
2024-07-24 14:29 ` [PR REVIEW] " classabbyamp
2024-07-24 14:35 ` abenson
2024-07-24 14:48 ` abenson
2024-07-24 20:40 ` xeroxslayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).