summarylogtreecommitdiffstats
path: root/soundon.patch
diff options
context:
space:
mode:
authorAlex Wiggins2015-06-08 21:25:47 +0100
committerAlex Wiggins2015-06-08 21:25:47 +0100
commitf400364b498233f43c42439e57acb42ad17ab10d (patch)
tree36fc5f715e8df91bfce6dec10489f1ee9834b39c /soundon.patch
downloadaur-f400364b498233f43c42439e57acb42ad17ab10d.tar.gz
Initial AUR4 import - version 2011-2
Diffstat (limited to 'soundon.patch')
-rw-r--r--soundon.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/soundon.patch b/soundon.patch
new file mode 100644
index 00000000000..b5311a0274e
--- /dev/null
+++ b/soundon.patch
@@ -0,0 +1,40 @@
+--- usr/sbin/soundon.old 2009-09-04 06:35:26.000000000 +0100
++++ usr/sbin/soundon 2009-11-15 13:59:53.000000000 +0000
+@@ -34,7 +34,10 @@
+ echo "OSS version: " `cat $OSSLIBDIR/version.dat` >> $LOG 2>&1
+ KERNEL_VERSION=`uname -r`
+ echo "Kernel version: " $KERNEL_VERSION >> $LOG
++# Fix for ossvermagic for kernels after 2.6,
++# (on 3.8, 3.9 and 3.10 kernels, this takes 2 minutes and returns nothing).
++#KERNEL_VERMAGIC=`/usr/sbin/ossvermagic -z -s`
+-KERNEL_VERMAGIC=`/usr/sbin/ossvermagic -z -s`
++KERNEL_VERMAGIC=""
+ echo "Kernel vermagic: " $KERNEL_VERMAGIC >> $LOG 2>&1
+
+ if ! test -f $OSSLIBDIR/etc/installed_drivers
+@@ -255,7 +258,10 @@
+ then
+ if test "`uname -m` " = "x86_64 "
+ then
+- ln -sf $OSSLIBDIR/lib/libsalsa.so.2.0.0 /usr/lib64/libasound.so.2
++ # Fix for compatibility with Arch's directory structure
++ # Not that we use it, there is no $OSSLIBDIR/.libsalsa_installed
++ ln -sf $OSSLIBDIR/lib/libsalsa.so.2.0.0 /usr/lib/libasound.so.2
++ #ln -sf $OSSLIBDIR/lib/libsalsa.so.2.0.0 /usr/lib64/libasound.so.2
+ #ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
+ else
+ if test -s /lib/libasound.so.2
+@@ -278,8 +284,11 @@
+ then
+ if test "`uname -m` " = "x86_64 "
+ then
+- ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
+- ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib64
++ # Fix for compatibility with Arch's directory structure
++ ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib
++ ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib
++ #ln -sf $OSSLIBDIR/lib/libOSSlib.so /usr/lib64
++ #ln -sf $OSSLIBDIR/lib/libossmix.so /usr/lib64
+ else
+ if test -s /lib/libasound.so.2
+ then