mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
package/tinycompress: bump to version 1.2.16
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
3da85ac729
commit
b20c9b3568
@@ -894,7 +894,6 @@ package/ti-sgx-um/0001-Makefile-do-not-install-init-script.patch lib_patch.Upstr
|
||||
package/ti-sgx-um/S80ti-sgx lib_sysv.Variables
|
||||
package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch lib_patch.Upstream
|
||||
package/tinyalsa/0001-include-time.h-before-asound.h.patch lib_patch.Upstream
|
||||
package/tinycompress/0001-wave-add-time.h-missing-header-inclusion.patch lib_patch.Upstream
|
||||
package/tinydtls/0001-sha2-sha2.c-fix-build-on-big-endian.patch lib_patch.Upstream
|
||||
package/transmission/S92transmission Shellcheck lib_sysv.ConsecutiveEmptyLines lib_sysv.Indent lib_sysv.Variables
|
||||
package/triggerhappy/S10triggerhappy Shellcheck lib_sysv.Indent lib_sysv.Variables
|
||||
|
||||
@@ -18,6 +18,10 @@ This patch fixes this build failure by including <time.h> prior
|
||||
<sound/asound.h>.
|
||||
|
||||
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||
|
||||
Upstream: https://github.com/alsa-project/tinycompress/pull/38
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
src/utils/wave.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# from https://www.alsa-project.org/files/pub/tinycompress/tinycompress-1.2.13.tar.bz2.sig
|
||||
# from https://www.alsa-project.org/files/pub/tinycompress/tinycompress-1.2.16.tar.bz2.sig
|
||||
# with key F04DF50737AC1A884C4B3D718380596DA6E59C91
|
||||
sha256 0efe6cbd7bff31983e0d416df0436767665cc4cd70d278c06ce0e83e0eeab5db tinycompress-1.2.13.tar.bz2
|
||||
sha256 2662336a8e583b9acb005350ad36edf13f01bc39ac8cb05347846c783273efb0 tinycompress-1.2.16.tar.bz2
|
||||
|
||||
# Locally calculated
|
||||
sha256 912ea37a4435594a3b3c35f04efa4b5b7af2e68a05f5319c16c881711a31e4b7 COPYING
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TINYCOMPRESS_VERSION = 1.2.13
|
||||
TINYCOMPRESS_VERSION = 1.2.16
|
||||
TINYCOMPRESS_SOURCE = tinycompress-$(TINYCOMPRESS_VERSION).tar.bz2
|
||||
TINYCOMPRESS_SITE = https://www.alsa-project.org/files/pub/tinycompress
|
||||
TINYCOMPRESS_LICENSE = BSD-3-Clause and LGPL-2.1
|
||||
TINYCOMPRESS_LICENSE_FILES = COPYING
|
||||
TINYCOMPRESS_INSTALL_STAGING = YES
|
||||
TINYCOMPRESS_DEPENDENCIES = host-pkgconf
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user