audio/pulseaudio: Patch to enforce prevention of parallel makes.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2014-10-29 10:34:40 +07:00 committed by Willy Sudiarto Raharjo
parent 1d65a02bb6
commit e00e0f2245
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,22 @@
--- src/Makefile.am.orig 2014-02-14 23:45:45.000000000 +1000
+++ src/Makefile.am 2014-10-26 21:59:33.220234317 +1000
@@ -19,6 +19,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
+.NOTPARALLEL:
+
###################################
# Extra directories #
###################################
--- Makefile.am.orig 2014-01-24 04:57:55.000000000 +1000
+++ Makefile.am 2014-10-26 21:58:47.090622189 +1000
@@ -15,6 +15,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
+.NOTPARALLEL:
+
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \

View file

@ -7,7 +7,7 @@
PRGNAM=pulseaudio PRGNAM=pulseaudio
VERSION=${VERSION:-5.0} VERSION=${VERSION:-5.0}
BUILD=${BUILD:-2} BUILD=${BUILD:-3}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -45,6 +45,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
#patch -p0 < $CWD/020_no-parallel-make.diff
sed -i -e '/@PA_BINARY@/ imkdir -p \$HOME/.config/pulse' src/daemon/start-pulseaudio-x11.in sed -i -e '/@PA_BINARY@/ imkdir -p \$HOME/.config/pulse' src/daemon/start-pulseaudio-x11.in
sed -i -e '/@PA_BINARY@/ imkdir -p \$HOME/.config/pulse' src/daemon/start-pulseaudio-kde.in sed -i -e '/@PA_BINARY@/ imkdir -p \$HOME/.config/pulse' src/daemon/start-pulseaudio-kde.in
echo "X-MATE-Autostart-Phase=Initialization" >>src/daemon/pulseaudio.desktop.in echo "X-MATE-Autostart-Phase=Initialization" >>src/daemon/pulseaudio.desktop.in