package/pulseaudio: fix build failure with 64-bit time_t
PATCH 1/2 package/pulseaudio: fix build failure with 64-bit time_t
Fixes:
https://autobuild.buildroot.net/results/f45/f452fdf42509d56555b31b148edbc2bde2624af3/
--- ...0002-selectively-disable-libpulsedsp.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/pulseaudio/0002-selectively-disable-libpulsedsp.patch
package/pulseaudio/0002-selectively-disable-libpulsedsp.patch new file +41 -0
@@ -0,0 +1,41 @@ +From: Simon McVittie <[email protected]> +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 <[email protected]> +--- + 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 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/efl: bump to version 1.29.0
* Deal with pipewire support since starting from version 1.29.0 it's enabled by default and can lead to build failure.
* Drop all the upstreamed patches and renumber the pending ones.
Release notes:
https://www.enlightenment.org/news/2026-10-31-efl-1.29.0
---
...s-drm-meson.build-use-gl_deps-as-en.patch} | 0
.../0001-ecore_fb-fix-build-with-tslib.patch | 36 -
...s-drm-meson.build-fix-gl_drm-includ.patch} | 0
...ec-move-to-Eina_Bool-from-bool-for-c.patch | 198 ----
.../0003-eldbus-silence-gcc-15-warnings.patch | 106 ---
...fl-all-gcc-15-break-older-c-std-code.patch | 857 ------------------
...5-ecore-file-silence-gcc-15-warnings.patch | 40 -
...5-break-adapt-to-new-keywords-in-c23.patch | 75 --
...-gl-full-builds-after-gcc-15-changes.patch | 30 -
...5-breaks-builds-new-keyword-constexp.patch | 155 ----
package/efl/efl.hash | 4 +-
package/efl/efl.mk | 9 +-
12 files changed, 10 insertions(+), 1500 deletions(-)
rename package/efl/{0009-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch => 0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch} (100%)
delete mode 100644 package/efl/0001-ecore_fb-fix-build-with-tslib.patch
rename package/efl/{0010-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch => 0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch} (100%)
delete mode 100644 package/efl/0002-evas-fix-etc-codec-move-to-Eina_Bool-from-bool-for-c.patch
delete mode 100644 package/efl/0003-eldbus-silence-gcc-15-warnings.patch
delete mode 100644 package/efl/0004-efl-all-gcc-15-break-older-c-std-code.patch
delete mode 100644 package/efl/0005-ecore-file-silence-gcc-15-warnings.patch
delete mode 100644 package/efl/0006-edje-edit-gcc15-break-adapt-to-new-keywords-in-c23.patch
delete mode 100644 package/efl/0007-evas-gl-fix-evas-gl-full-builds-after-gcc-15-changes.patch
delete mode 100644 package/efl/0008-emrbyo-new-gcc-15-breaks-builds-new-keyword-constexp.patchpackage/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch renamed from package/efl/0009-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch +0 -0
package/efl/0001-ecore_fb-fix-build-with-tslib.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 836b13de08980d89fc13690284efd355c1b43218 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine <[email protected]> -Date: Sat, 10 Jul 2021 22:38:03 +0200 -Subject: [PATCH] ecore_fb: fix build with tslib - -Build with tslib is broken since version 1.25.0 and -https://git.enlightenment.org/core/efl.git/commit/?id=8e3606698eb439eecd7302a885504365aca7e564: - -/data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: src/lib/ecore_fb/libecore_fb.so.1.25.1.p/ecore_fb_ts.c.o: in function `_ecore_fb_ts_fd_handler': -ecore_fb_ts.c:(.text+0x4c): undefined reference to `ts_read_raw' - -Fixes: - - http://autobuild.buildroot.org/results/fa111306b95316eed54771550474dae804fa261e - -Upstream: https://git.enlightenment.org/enlightenment/efl/commit/f28462ee1082a26e4c394ff5fc6e2994d02bfb0f -Signed-off-by: Fabrice Fontaine <[email protected]> ---- - src/lib/ecore_fb/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/lib/ecore_fb/meson.build b/src/lib/ecore_fb/meson.build -index 6d50e0f146..7c7f6786c3 100644 ---- a/src/lib/ecore_fb/meson.build -+++ b/src/lib/ecore_fb/meson.build -@@ -22,7 +22,7 @@ ecore_fb_src = files([ - ecore_fb_lib = library('ecore_fb', - ecore_fb_src, pub_eo_file_target, - c_args : package_c_args, -- dependencies: ecore_fb_pub_deps + ecore_fb_deps, -+ dependencies: ecore_fb_pub_deps + ecore_fb_deps + ecore_fb_ext_deps, - include_directories : config_dir, - install: true, - version : meson.project_version() --- -2.31.1 -
package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch renamed from package/efl/0010-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch +0 -0
package/efl/0002-evas-fix-etc-codec-move-to-Eina_Bool-from-bool-for-c.patch deleted +0 -198
198 lines not on this page · raw message
package/efl/0003-eldbus-silence-gcc-15-warnings.patch deleted +0 -106
106 lines not on this page · raw message
package/efl/0004-efl-all-gcc-15-break-older-c-std-code.patch deleted +0 -857
857 lines not on this page · raw message
package/efl/0005-ecore-file-silence-gcc-15-warnings.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 6e63309b26c25cc1c09228b9d06fd47bd6b13884 Mon Sep 17 00:00:00 2001 -From: "Carsten Haitzler (Rasterman)" <[email protected]> -Date: Mon, 28 Apr 2025 18:27:37 +0100 -Subject: [PATCH] ecore-file: silence gcc 15 warnings - -no bug here - just warnings for perfectly ok code and people using -Werror ... - -fixes #85 - -Upstream: https://git.enlightenment.org/enlightenment/efl/commit/6e63309b26c25cc1c09228b9d06fd47bd6b13884 -Signed-off-by: Giulio Benetti <[email protected]> ---- - src/lib/ecore_file/ecore_file_monitor_inotify.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/lib/ecore_file/ecore_file_monitor_inotify.c b/src/lib/ecore_file/ecore_file_monitor_inotify.c -index 988893de4f..b187fbc2c1 100644 ---- a/src/lib/ecore_file/ecore_file_monitor_inotify.c -+++ b/src/lib/ecore_file/ecore_file_monitor_inotify.c -@@ -51,7 +51,7 @@ static Eina_Bool reseting; - static Eina_Hash *monitor_hash; - - static void --_ecore_file_monitor_inotify_reset() -+_ecore_file_monitor_inotify_reset(void *data EINA_UNUSED) - { - Eina_Iterator *it; - Ecore_File_Monitor *em; -@@ -132,7 +132,7 @@ ecore_file_monitor_backend_add(const char *path, - if (_inotify_fd_pid == -1) return NULL; - - if (_inotify_fd_pid != getpid()) -- _ecore_file_monitor_inotify_reset(); -+ _ecore_file_monitor_inotify_reset(NULL); - - em = (Ecore_File_Monitor *)calloc(1, sizeof(Ecore_File_Monitor_Inotify)); - if (!em) return NULL; --- -2.47.3 -
package/efl/0006-edje-edit-gcc15-break-adapt-to-new-keywords-in-c23.patch deleted +0 -75
75 lines not on this page · raw message
package/efl/0007-evas-gl-fix-evas-gl-full-builds-after-gcc-15-changes.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From c7ff646ed8b62e60159bdf0ff77132c3a242d919 Mon Sep 17 00:00:00 2001 -From: "Carsten Haitzler (Rasterman)" <[email protected]> -Date: Sun, 4 May 2025 09:29:41 +0100 -Subject: [PATCH] evas - gl - fix evas gl full builds after gcc 15 changes - -Upstream: https://git.enlightenment.org/enlightenment/efl/commit/c7ff646ed8b62e60159bdf0ff77132c3a242d919 -Signed-off-by: Giulio Benetti <[email protected]> ---- - src/modules/evas/engines/gl_x11/evas_engine.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c b/src/modules/evas/engines/gl_x11/evas_engine.c -index 86f5064cf3..8926c6afea 100644 ---- a/src/modules/evas/engines/gl_x11/evas_engine.c -+++ b/src/modules/evas/engines/gl_x11/evas_engine.c -@@ -1382,9 +1382,9 @@ eng_gl_symbols(Outbuf *ob) - #define FINDSYM(dst, sym, ext) do { \ - if (!dst) { \ - if (_has_ext(exts, ext) && glsym_glXGetProcAddress) \ -- dst = (typ) glsym_glXGetProcAddress(sym); \ -+ dst = glsym_glXGetProcAddress(sym); \ - if (!dst) \ -- dst = (typ) dlsym(RTLD_DEFAULT, sym); \ -+ dst = dlsym(RTLD_DEFAULT, sym); \ - }} while (0) - - // Find GLX extensions --- -2.47.3 -
package/efl/0008-emrbyo-new-gcc-15-breaks-builds-new-keyword-constexp.patch deleted +0 -155
155 lines not on this page · raw message
package/efl/efl.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://www.enlightenment.org/news/2025-03-17-efl-1.28.1 -sha256 84cf6145f9cc82bfff690005be24392c8f3c52f8e00ff04d8eea371429c09424 efl-1.28.1.tar.xz +# From https://www.enlightenment.org/news/2026-10-31-efl-1.29.0 +sha256 248bc76141f2b8b006ccba9e0bb2cb46cbcb1be4181a1cf2728187f778853654 efl-1.29.0.tar.xz sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING
package/efl/efl.mk +8 -1
@@ -4,7 +4,7 @@ # ################################################################################ -EFL_VERSION = 1.28.1 +EFL_VERSION = 1.29.0 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = https://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT
@@ -122,6 +122,13 @@ else EFL_CONF_OPTS += -Daudio=false endif +ifeq ($(BR2_PACKAGE_PIPEWIRE),y) +EFL_CONF_OPTS += -Dpipewire=true +EFL_DEPENDENCIES += pipewire +else +EFL_CONF_OPTS += -Dpipewire=false +endif + ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) EFL_CONF_OPTS += -Dpulseaudio=true EFL_DEPENDENCIES += pulseaudio
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH 2/2] package/efl: bump to version 1.29.0
Quoted 8 lines · Giulio Benetti
* Deal with pipewire support since starting from version 1.29.0 it's enabled by default and can lead to build failure.
* Drop all the upstreamed patches and renumber the pending ones.Release notes:
https://www.enlightenment.org/news/2026-10-31-efl-1.29.0Signed-off-by Giulio Benetti <[email protected]>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 4 lines · Giulio Benetti
Fixes:
https://autobuild.buildroot.net/results/f45/f452fdf42509d56555b31b148edbc2bde2624af3/Signed-off-by Giulio Benetti <[email protected]>
Honestly, the patch looks "meh". Instead, can you try -Doss-support=false (or disabled, I don't know which one is correct here)? This should disable OSS output support, which we really don't care about.
Thanks a lot!
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot