diff options
Diffstat (limited to 'audio/oss/oss.SlackBuild')
-rw-r--r-- | audio/oss/oss.SlackBuild | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/audio/oss/oss.SlackBuild b/audio/oss/oss.SlackBuild index d1f7570439310..ee164b63378db 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.2011} +VERSION=${VERSION:-4.2.2019} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,18 +56,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/glibc-2.23.patch + if [ $ARCH = "x86_64" ]; then - sed -i 's,OSSLIBDIR=\"/usr/lib/oss\",OSSLIBDIR=\"/usr/lib64/oss\",g' configure + sed -i 's,OSSLIBDIR=\"/usr/lib/oss\",OSSLIBDIR=\"/usr/lib64/oss\",g' configure || exit 1 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 |