diff options
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 d4366de93ae6e..4994cbde39b23 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 |