Fixed memory leak. Add 32-bit compilation support. Improvements and bugfixes.
Signed-off-by: Linnea Gunnarsson <[email protected]> --- .../0001-add-largefile-support.patch | 32 +++++++++++++++++++ patches/alsa-lib-1.2.7/autogen.sh | 1 + patches/alsa-lib-1.2.7/series | 4 +++ rules/alsa-lib.make | 4 +-- 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 patches/alsa-lib-1.2.7/0001-add-largefile-support.patch create mode 120000 patches/alsa-lib-1.2.7/autogen.sh create mode 100644 patches/alsa-lib-1.2.7/series diff --git a/patches/alsa-lib-1.2.7/0001-add-largefile-support.patch b/patches/alsa-lib-1.2.7/0001-add-largefile-support.patch new file mode 100644 index 000000000..40caa5480 --- /dev/null +++ b/patches/alsa-lib-1.2.7/0001-add-largefile-support.patch @@ -0,0 +1,32 @@ +From: Lucas Stach <[email protected]> +Date: Tue, 17 Oct 2017 12:29:22 +0200 +Subject: [PATCH] add largefile support + +Signed-off-by: Lucas Stach <[email protected]> +--- + configure.ac | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 1089a9766593..0858563e9524 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -38,6 +38,9 @@ AM_PROG_LIBTOOL + + CC_NOUNDEFINED + ++dnl enable largefile ++AC_SYS_LARGEFILE ++ + dnl Checks for header files. + AC_HEADER_STDC + AC_CONFIG_HEADERS(include/config.h) +@@ -731,6 +734,8 @@ if test ! -L "$srcdir"/include/alsa ; then + ln -sf . "$srcdir"/include/alsa + fi + ++CPPFLAGS='-include $(CONFIG_HEADER)' ++ + AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ + include/Makefile include/sound/Makefile include/sound/uapi/Makefile \ + src/Versions src/Makefile \ diff --git a/patches/alsa-lib-1.2.7/autogen.sh b/patches/alsa-lib-1.2.7/autogen.sh new file mode 120000 index 000000000..9f8a4cb7d --- /dev/null +++ b/patches/alsa-lib-1.2.7/autogen.sh @@ -0,0 +1 @@ +../autogen.sh \ No newline at end of file diff --git a/patches/alsa-lib-1.2.7/series b/patches/alsa-lib-1.2.7/series new file mode 100644 index 000000000..cab3f9ae2 --- /dev/null +++ b/patches/alsa-lib-1.2.7/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-add-largefile-support.patch +# e32eb79bf9ae6a22f1a3a5336617e2d3 - git-ptx-patches magic diff --git a/rules/alsa-lib.make b/rules/alsa-lib.make index c503315c7..045e497da 100644 --- a/rules/alsa-lib.make +++ b/rules/alsa-lib.make @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_ALSA_LIB) += alsa-lib # # Paths and names # -ALSA_LIB_VERSION := 1.2.6.1 -ALSA_LIB_MD5 := 039aae4a55e4a33f4c39b274fcc1dc5e +ALSA_LIB_VERSION := 1.2.7 +ALSA_LIB_MD5 := 485d2e9cb91806f0a5732d769cda2800 ALSA_LIB := alsa-lib-$(ALSA_LIB_VERSION) ALSA_LIB_SUFFIX := tar.bz2 ALSA_LIB_URL := \ -- 2.34.1
