summaryrefslogtreecommitdiff
path: root/community-testing/oss/soundon.patch
blob: 4702b868004c32ab04333f0707984c52682e0c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- usr/sbin/soundon.old	2009-09-04 06:35:26.000000000 +0100
+++ usr/sbin/soundon	2009-11-15 13:59:53.000000000 +0000
@@ -255,7 +255,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 +281,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