diff options
author | Xylemon <xylem2020@gmail.com> | 2016-01-10 16:15:09 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | eda5f68048067523058cb26ba8f82c6456cd6943 (patch) | |
tree | d54cd7bf2353078ee4cf7fcf74531d121a37285e /audio/oss/oss.SlackBuild | |
parent | e3f2febfed6b6f58db28aebd07b31f41a28d1a22 (diff) | |
download | slackbuilds-eda5f68048067523058cb26ba8f82c6456cd6943.tar.gz |
audio/oss: Updated for version 4.2.2011.
Patched for building with gcc-5.3.0 and linux-4.1.15.
Diffstat (limited to 'audio/oss/oss.SlackBuild')
-rw-r--r-- | audio/oss/oss.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/oss/oss.SlackBuild b/audio/oss/oss.SlackBuild index d4366de93a..4994cbde39 100644 --- a/audio/oss/oss.SlackBuild +++ b/audio/oss/oss.SlackBuild @@ -5,7 +5,7 @@ # Written by Dugan Chen (thedoogster [at] gmail [dot] com). PRGNAM=oss -VERSION=${VERSION:-4.2.2010} +VERSION=${VERSION:-4.2.2011} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,7 +46,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION +rm -rf oss-${SRCVERSION} tar xvf $CWD/oss-${SRCVERSION}.tar.bz2 cd oss-${SRCVERSION} chown -R root:root . @@ -60,6 +60,14 @@ if [ $ARCH = "x86_64" ]; then sed -i 's,OSSLIBDIR=\"/usr/lib/oss\",OSSLIBDIR=\"/usr/lib64/oss\",g' configure fi +# Patches from OSS Forums + +# Linux 4.0 and above fix by oss117 +patch -p1 < $CWD/oss-v4.2-linux-4.0.patch + +# GCC 5 fix by alexdw +patch -p0 < $CWD/gcc-5.patch + mkdir build && cd build ../configure CFLAGS="$SLKCFLAGS" make build |