aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-11-17 02:12:30 +0800
committerjkim <jkim@FreeBSD.org>2009-11-17 02:12:30 +0800
commit53b44efb657d399f420b7176c4c65055e01b36c9 (patch)
tree3aaf278fb1d0ce8dc0b1d6b0513a85032b2ae3f0
parentc59fd1160574e058439eee57a1c93e32c2645684 (diff)
downloadfreebsd-ports-gnome-53b44efb657d399f420b7176c4c65055e01b36c9.tar.gz
freebsd-ports-gnome-53b44efb657d399f420b7176c4c65055e01b36c9.tar.zst
freebsd-ports-gnome-53b44efb657d399f420b7176c4c65055e01b36c9.zip
- Chase distfile change. The previous tarball was actually build 2001.
- Fix soundoff and add a proper prefix to ossdevlinks[1]. PR: ports/139580, ports/140592[1] Submitted by: Michael Hax (nc dot bash at gmail dot com)
-rw-r--r--audio/oss/Makefile1
-rw-r--r--audio/oss/distinfo6
-rw-r--r--audio/oss/files/patch-setup-FreeBSD-sbin-soundoff13
3 files changed, 13 insertions, 7 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile
index 4374702799dd..752f81d079d4 100644
--- a/audio/oss/Makefile
+++ b/audio/oss/Makefile
@@ -7,6 +7,7 @@
PORTNAME= oss
DISTVERSION= 4.2-build2002
+PORTREVISION= 1
CATEGORIES= audio kld
MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd
diff --git a/audio/oss/distinfo b/audio/oss/distinfo
index ca147b0e29f0..4dda75e86cbb 100644
--- a/audio/oss/distinfo
+++ b/audio/oss/distinfo
@@ -1,3 +1,3 @@
-MD5 (oss-v4.2-build2002-src-bsd.tar.bz2) = 8aca127c7a39fc5932f38217416db29a
-SHA256 (oss-v4.2-build2002-src-bsd.tar.bz2) = f62d89c75db49b7907c81fa3d87c82ed8fdb19feab4dca7a90e70812fe8d808c
-SIZE (oss-v4.2-build2002-src-bsd.tar.bz2) = 1646151
+MD5 (oss-v4.2-build2002-src-bsd.tar.bz2) = da28b1fea261554a1480fcd3c5509cb5
+SHA256 (oss-v4.2-build2002-src-bsd.tar.bz2) = e8216ded0dc4c73106623d184ee174fc4e91979b251c51a2fb50fa96bdb36e64
+SIZE (oss-v4.2-build2002-src-bsd.tar.bz2) = 1646769
diff --git a/audio/oss/files/patch-setup-FreeBSD-sbin-soundoff b/audio/oss/files/patch-setup-FreeBSD-sbin-soundoff
index b796d451d149..deb1f42e9a9f 100644
--- a/audio/oss/files/patch-setup-FreeBSD-sbin-soundoff
+++ b/audio/oss/files/patch-setup-FreeBSD-sbin-soundoff
@@ -1,5 +1,5 @@
---- setup/FreeBSD/sbin/soundoff.orig 2007-07-18 19:22:00.000000000 -0400
-+++ setup/FreeBSD/sbin/soundoff 2007-09-05 13:18:02.000000000 -0400
+--- setup/FreeBSD/sbin/soundoff.orig 2009-11-16 12:44:58.000000000 -0500
++++ setup/FreeBSD/sbin/soundoff 2009-11-16 12:48:25.000000000 -0500
@@ -1,10 +1,10 @@
#!/bin/sh
@@ -14,7 +14,7 @@
fi
if ! /sbin/kldstat | grep -q osscore.ko
-@@ -22,7 +22,7 @@
+@@ -22,11 +22,11 @@
# Save mixer settings automatically if requested
if test -f $OSSLIBDIR/etc/userdefs && grep -q "autosave_mixer yes" $OSSLIBDIR/etc/userdefs
then
@@ -22,4 +22,9 @@
+ %%PREFIX%%/sbin/savemixer
fi
- for n in `cat $OSSLIBDIR/etc/installed_drivers | sed 's/ .*//'`
+ # Save legacy devices
+-/usr/sbin/ossdevlinks
++%%PREFIX%%/sbin/ossdevlinks
+
+ PROGRAMS="`fstat /dev/mixer* /dev/dsp* /dev/midi* /dev/oss/*/* 2>/dev/null | sed '1 D'`"
+