diff options
author | Matteo Bernardini | 2020-10-26 22:06:13 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-10-26 22:06:13 +0100 |
commit | e640e49a5bd5cb8a3b272af2d38aa2c5d9993949 (patch) | |
tree | efdec9a92e47f20efe8b45860584319c9fac9a8c /audio/oss/oss.SlackBuild | |
parent | 41fa52299e271fdd4909b298cd0348f5f01986ea (diff) | |
download | slackbuilds-d1f783155bff449ad8302e9173b3ca4ee61610a9.tar.gz |
20201026.1 global branch merge.current-20201026.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 |