mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-02 23:11:48 -09:00
https://www.alsa-project.org/wiki/Changes_v1.2.15.3_v1.2.16#tinycompress
Sent patch 0001 upstream and added Upstream: tag.
Added patch 0002 to fix musl build error introduced by this version
bump:
cb3340621f
Added dependency to host-pkgconf, the build fails without it due to this
version bump:
1.2.13:
checking pkg-config is at least version 0.9.0... ./configure: line 16805:
/home/bernd/buildroot/output/host/bin/pkg-config: No such file or directory
no
checking that generated files are newer than configure... done
1.2.16:
checking pkg-config is at least version 0.9.0... ./configure: line 18346:
/home/bernd/buildroot/output/host/bin/pkg-config: No such file or directory
no
configure: error: pkg-config not found
This behaviour is caused by the usage of newer autotools to create the
configure script:
# Generated by GNU Autoconf 2.69 for tinycompress 1.2.13.
# Generated by GNU Autoconf 2.72 for tinycompress 1.2.16.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From b0361dc7fef630248310db1cdea1ee89f68ead7b Mon Sep 17 00:00:00 2001
|
||
From: Bernd Kuhls <bernd@kuhls.net>
|
||
Date: Tue, 2 Jun 2026 20:20:01 +0200
|
||
Subject: [PATCH] utils: sofprobeclient: fix musl build
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
With musl C library, we see following build failure:
|
||
|
||
probes_demux.c: In function ‘parser_parse_data’:
|
||
probes_demux.c:321:9: error: unknown type name ‘uint’; did you mean ‘int’?
|
||
321 | uint i = 0;
|
||
|
||
probes_demux.c:386:25: error: unknown type name ‘uint’; did you mean ‘int’?
|
||
386 | uint data_to_copy;
|
||
|
||
uint is defined in <sys/types.h> header. It is usually included by
|
||
<stdlib.h> but in musl stdlib.h doesn't include it.
|
||
|
||
Upstream: https://github.com/alsa-project/tinycompress/pull/37
|
||
|
||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||
---
|
||
src/utils/sofprobeclient/probes_demux.c | 1 +
|
||
1 file changed, 1 insertion(+)
|
||
|
||
diff --git a/src/utils/sofprobeclient/probes_demux.c b/src/utils/sofprobeclient/probes_demux.c
|
||
index b11f702..be0a2e0 100644
|
||
--- a/src/utils/sofprobeclient/probes_demux.c
|
||
+++ b/src/utils/sofprobeclient/probes_demux.c
|
||
@@ -16,6 +16,7 @@
|
||
#include <string.h>
|
||
#include <time.h>
|
||
#include <unistd.h>
|
||
+#include <sys/types.h>
|
||
|
||
#include "probe_dma_frame.h"
|
||
|
||
--
|
||
2.47.3
|
||
|