Ok, I've managed to "fix" it (more like dirty hack it).
For other people with the same problem I've prepared minihowto:
1. download tar ball with of oss-hg from
http://aur.archlinux.org/packages.php?ID=24719# wget
http://aur.archlinux.org/packages/os/os ... -hg.tar.gz2. unpack etc.
# tar zxvf oss*gz
# cd oss-hg
4. makepkg so we have sources without a hassel:
# makepkg --asroot
4. coping orginal file
# cd oss
# cp kernel/drv/oss_envy24/oss_envy24.c oss_envy24.c.new
5. commenting lines in oss_envy24.c.new:
- Code: Select all
258 //#ifdef DO_TIMINGS
259 // oss_timing_printf ("Envy24: Copy out %d, %d",
260 // dmap_get_qhead (dmap) * dmap->fragment_size, nbytes);
261 //#endif
(yeah I know I could comment only two lines of oss_timing... but I dont trust the empty #ifndef)
6. generating patch
# diff -u kernel/drv/oss_envy24/oss_envy24.c oss_envy24.c.new > ../oss_envy24.c.patch
7. editing PKGBUILD to use our patch
# vim ../PKGBUILD
8. adding line for example between
export NO_WARNING_CHECKS=yes
and
msg "Building libflashsupport.so."
so the result is for example:
- Code: Select all
44 export NO_WARNING_CHECKS=yes
45
46 msg "Patching envy24..."
47 echo $(pwd)
48 echo ${startdir}
49 patch -p0 < $startdir/oss_envy24.c.patch
50
51 # Compile libflashsupport.so only in packaging time, so we avoid
52 # conflicts with other packages and ease package management.
53 msg "Building libflashsupport.so."
9. building & Installing
# cd ..
# makepkg --asroot
# pacman -U *xz
It is possible that I've made somewhere error so please inform me. What else... I know it's not most elegant way to do it etc. but it works and I dont have time to improved it.
