From 1ad8036ef2a07884ceef6ca13f2fc13194916ee0 Mon Sep 17 00:00:00 2001 From: Zoltan Gyarmati Date: Thu, 8 Jan 2015 11:49:27 +0100 Subject: [PATCH] python: add patch to make ossaudiodev module optional This module causes some build failures in certain setups and is not very useful. Signed-off-by: Zoltan Gyarmati Signed-off-by: Thomas Petazzoni --- package/python/115-optional-ossaudiodev.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/python/115-optional-ossaudiodev.patch diff --git a/package/python/115-optional-ossaudiodev.patch b/package/python/115-optional-ossaudiodev.patch new file mode 100644 index 0000000000..de820368e0 --- /dev/null +++ b/package/python/115-optional-ossaudiodev.patch @@ -0,0 +1,30 @@ +From 30351d9b41a03c43d627d52d46e49ab91bfe342d Mon Sep 17 00:00:00 2001 +From: Zoltan Gyarmati +Date: Thu, 8 Jan 2015 11:41:40 +0100 +Subject: [PATCH 1/1] Add an option to disable the ossaudiodev module + +Signed-off-by: Zoltan Gyarmati +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index e8cb52a..579e05b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2717,6 +2717,12 @@ if test "$CURSES" = "no"; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" + fi + ++AC_ARG_ENABLE(ossaudiodev, ++ AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev" ++ fi]) ++ + AC_SUBST(PYDOC) + + AC_ARG_ENABLE(pydoc, +-- +2.1.0 + -- 2.30.2