diff options
Diffstat (limited to 'patches/alsa-lib-1.2.8/0001-add-largefile-support.patch')
-rw-r--r-- | patches/alsa-lib-1.2.8/0001-add-largefile-support.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/patches/alsa-lib-1.2.8/0001-add-largefile-support.patch b/patches/alsa-lib-1.2.8/0001-add-largefile-support.patch new file mode 100644 index 000000000..a49c29131 --- /dev/null +++ b/patches/alsa-lib-1.2.8/0001-add-largefile-support.patch @@ -0,0 +1,32 @@ +From: Lucas Stach <l.stach@pengutronix.de> +Date: Tue, 17 Oct 2017 12:29:22 +0200 +Subject: [PATCH] add largefile support + +Signed-off-by: Lucas Stach <l.stach@pengutronix.de> +--- + configure.ac | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 3989a7434759..1ad79ed39b9b 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) +@@ -744,6 +747,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 \ |