audio/oss: update to 4.2.b2017 (maintenance release)

- Add a note about origin to avoid users from Linux blaming FreeBSD
  for 4Front's bugs and vice versa
- Disable SSE on amd64 to avoid kernel panic[1]

Changes:	http://opensound.com/forum/viewtopic.php?f=19&t=5841
PR:		212263
Submitted by:	Jakub Adler <jakubadler@gmail.com> [1]
MFH:		2017Q1
This commit is contained in:
Jan Beich 2017-03-25 03:29:09 +00:00
parent 0f0e6f8941
commit 4a4d3b592d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436874
5 changed files with 20 additions and 4 deletions

View File

@ -2,13 +2,13 @@
# $FreeBSD$
PORTNAME= oss
DISTVERSION= 4.2-build2011
DISTVERSION= 4.2-build2017
CATEGORIES= audio
MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd
MAINTAINER= ports@FreeBSD.org
COMMENT= Open Sound System
COMMENT= Open Sound System from 4Front Technologies
LICENSE= BSD2CLAUSE

View File

@ -1,2 +1,3 @@
SHA256 (oss-v4.2-build2011-src-bsd.tar.bz2) = 65ba999222d7250242c23d6d13e98dc39d3157c14acc32691d8aa9678ccedbbc
SIZE (oss-v4.2-build2011-src-bsd.tar.bz2) = 1628950
TIMESTAMP = 1486110185
SHA256 (oss-v4.2-build2017-src-bsd.tar.bz2) = 8ef2b1b964719b4c356de234d4b28832302027dc23bf636820be1afe1b099972
SIZE (oss-v4.2-build2017-src-bsd.tar.bz2) = 1714709

View File

@ -0,0 +1,10 @@
--- setup/srcconf_freebsd.inc.orig 2014-02-14 22:59:55 UTC
+++ setup/srcconf_freebsd.inc
@@ -12,6 +12,6 @@ add_kernel_flags (FILE * f)
{
# if defined(__x86_64__)
fprintf (f,
- "CFLAGS += -O3 -fno-common -mcmodel=kernel -mno-red-zone -fno-asynchronous-unwind-tables -ffreestanding\n");
+ "CFLAGS += -O3 -fno-common -mcmodel=kernel -mno-red-zone -fno-asynchronous-unwind-tables -ffreestanding -mno-sse\n");
# endif
}

View File

@ -2,4 +2,7 @@ Open Sound System for FreeBSD is a audio subsystem that provides
a cross platform audio and MIDI API with device drivers for most
consumer and professional PCI and USB audio devices.
Not to be confused with sound(4) which is a different implementation
with the same API.
WWW: http://opensound.com/

View File

@ -29,6 +29,7 @@ lib/oss/conf/oss_ymf7xx.conf.sample
lib/oss/conf/osscore.conf.sample
lib/oss/etc/devices.list
lib/oss/include/sys/soundcard.h
lib/oss/modules/lynxone.ko
lib/oss/modules/oss_ali5455.ko
lib/oss/modules/oss_atiaudio.ko
lib/oss/modules/oss_audigyls.ko
@ -73,6 +74,7 @@ man/man1/osstest.1.gz
man/man1/ossxmix.1.gz
man/man1/soundoff.1.gz
man/man1/soundon.1.gz
man/man7/lynxone.7.gz
man/man7/oss_ali5455.7.gz
man/man7/oss_atiaudio.7.gz
man/man7/oss_audigyls.7.gz