audio/oss: Updated for version 4.2.2019, patched for glibc >= 2.23.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
135558fa0e
commit
434f1f00da
|
@ -0,0 +1,19 @@
|
|||
commit ad097a606d8b6ba46e0bcd12b284ca355592ac44
|
||||
Author: hash <hashn0n@users.noreply.github.com>
|
||||
Date: Sun Sep 24 19:53:49 2017 +0300
|
||||
|
||||
Fix os_cmd/Linux/ossdetect/ossdetect.c compile problem with
|
||||
>=sys-libs/glibc-2.23, need to include sys/sysmacros.h
|
||||
|
||||
diff --git a/os_cmd/Linux/ossdetect/ossdetect.c b/os_cmd/Linux/ossdetect/ossdetect.c
|
||||
index 86b86ba..1dce64a 100644
|
||||
--- a/os_cmd/Linux/ossdetect/ossdetect.c
|
||||
+++ b/os_cmd/Linux/ossdetect/ossdetect.c
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/dir.h>
|
||||
|
||||
#define PCI_PASS 0
|
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="oss"
|
||||
VERSION="4.2.2011"
|
||||
VERSION="4.2.2019"
|
||||
HOMEPAGE="http://www.opensound.com"
|
||||
DOWNLOAD="http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2011-src-gpl.tar.bz2"
|
||||
MD5SUM="68f80d569739a10281a8284dded12acc"
|
||||
DOWNLOAD="http://www.opensound.com/developer/sources/stable/gpl/oss-v4.2-build2019-src-gpl.tar.bz2"
|
||||
MD5SUM="330efdeee7567e6587e1a4a13f91eb5f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue