diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-05-24 10:11:23 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:50:40 -0500 |
commit | 434f1f00dad150a1963b61c872ca5da7d33f322b (patch) | |
tree | 695710489c2694b60a7d63827ce771d4402e0c4e /audio | |
parent | 135558fa0ea22b14161caabc1313622669ef8d14 (diff) |
audio/oss: Updated for version 4.2.2019, patched for glibc >= 2.23.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/oss/glibc-2.23.patch | 19 | ||||
-rw-r--r-- | audio/oss/oss.SlackBuild | 14 | ||||
-rw-r--r-- | audio/oss/oss.info | 6 |
3 files changed, 26 insertions, 13 deletions
diff --git a/audio/oss/glibc-2.23.patch b/audio/oss/glibc-2.23.patch new file mode 100644 index 000000000000..c9dc65b111c4 --- /dev/null +++ b/audio/oss/glibc-2.23.patch @@ -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 diff --git a/audio/oss/oss.SlackBuild b/audio/oss/oss.SlackBuild index d1f757043931..ee164b63378d 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 diff --git a/audio/oss/oss.info b/audio/oss/oss.info index 8ca0c0652d59..9ac357009831 100644 --- a/audio/oss/oss.info +++ b/audio/oss/oss.info @@ -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="" |