[Buildroot] [git commit] python: add patch to make ossaudiodev module optional

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jan 10 14:58:21 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=1ad8036ef2a07884ceef6ca13f2fc13194916ee0
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This module causes some build failures in certain setups and is not
very useful.

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/python/115-optional-ossaudiodev.patch |   30 +++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/package/python/115-optional-ossaudiodev.patch b/package/python/115-optional-ossaudiodev.patch
new file mode 100644
index 0000000..de82036
--- /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 <mr.zoltan.gyarmati at gmail.com>
+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 <mr.zoltan.gyarmati at gmail.com>
+---
+ 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
+


More information about the buildroot mailing list