Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/pulseaudio: fix build failure with 64-bit time_t
@ 2026-11-03 11:03 Giulio Benetti
  2026-11-03 11:03 ` [Buildroot] [PATCH 2/2] package/efl: bump to version 1.29.0 Giulio Benetti
  2026-11-04 21:44 ` [Buildroot] [PATCH 1/2] package/pulseaudio: fix build failure with 64-bit time_t Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Giulio Benetti @ 2026-11-03 11:03 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Giulio Benetti

Fixes:
https://autobuild.buildroot.net/results/f45/f452fdf42509d56555b31b148edbc2bde2624af3/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 ...0002-selectively-disable-libpulsedsp.patch | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 package/pulseaudio/0002-selectively-disable-libpulsedsp.patch

diff --git a/package/pulseaudio/0002-selectively-disable-libpulsedsp.patch b/package/pulseaudio/0002-selectively-disable-libpulsedsp.patch
new file mode 100644
index 0000000000..79ab02df8d
--- /dev/null
+++ b/package/pulseaudio/0002-selectively-disable-libpulsedsp.patch
@@ -0,0 +1,41 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Thu, 21 Mar 2024 12:42:59 +0000
+Subject: selectively disable the libpulsedsp DSO and padsp wrapper
+
+The libpulsedsp DSO is not compatible with 64-bit time_t, and is a wrapper
+for compatibility with an API that's basically obsolete for 15 years.
+And nowadays pulseaudio itself is largely superseded by pipewire.
+
+padsp is mainly useful for legacy i386 binaries and maybe
+a few very early legacy amd64 binaries (late 90s/early 00s era games,
+especially ported by Loki Games) which might assume OSS audio, and not
+support ALSA or PulseAudio directly. Since we're breaking the platform ABI
+on armel/armhf/etc. *anyway*, we can't rely on the ability to run legacy
+binaries even if they exist, so it's probably no longer interesting to
+provide padsp on those architectures.
+
+However, Debian's i386 is sticking with the old 32-bit time_t.
+
+Forwarded: not-needed
+
+Upstream: N/A it's been picked from Debian that tags it as "Forwarded: not-needed"
+Signed-off: Giulio Benetti <giulio.benetti@benettiengineering.com>
+---
+ meson.build | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index d4cdbd6..7137e21 100644
+--- a/meson.build
++++ b/meson.build
+@@ -618,7 +618,9 @@ if cc.has_header('sys/soundcard.h', required: get_option('oss-output'))
+   # OSS output via daemon module-detect
+   cdata.set('HAVE_OSS_OUTPUT', 1)
+   # OSS wrapper
+-  cdata.set('HAVE_OSS_WRAPPER', 1)
++  if cc.sizeof('void *') >= 8 or host_machine.cpu_family() == 'x86'
++    cdata.set('HAVE_OSS_WRAPPER', 1)
++  endif
+   cdata.set('PULSEDSP_LOCATION', pulsedsp_location)
+ endif
+ 
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-11-04 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03 11:03 [Buildroot] [PATCH 1/2] package/pulseaudio: fix build failure with 64-bit time_t Giulio Benetti
2026-11-03 11:03 ` [Buildroot] [PATCH 2/2] package/efl: bump to version 1.29.0 Giulio Benetti
2026-11-04 21:51   ` Thomas Petazzoni via buildroot
2026-11-04 21:44 ` [Buildroot] [PATCH 1/2] package/pulseaudio: fix build failure with 64-bit time_t Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox