diff options
author | Matteo Bernardini | 2021-04-07 19:43:09 +0200 |
---|---|---|
committer | Matteo Bernardini | 2021-04-07 19:43:09 +0200 |
commit | fc3c9447da6cded0b6741cf3e6c2386c16493440 (patch) | |
tree | 4e2d3e3a7ba5c8cb879728d8e965da94d1fd4850 /audio/oss/oss.SlackBuild | |
parent | a6bf666d73b4dccae0636e4ca04113d5953b956c (diff) | |
download | slackbuilds-current-20210407.1.tar.gz |
20210407.1 global branch merge.current-20210407.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 d1f7570439..ee164b6337 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 |