Hi, Two patches are attached.
The first patch removes ossvermagic program from os_cmd/Linux, which seems like a 2.4.x relic. That program merely aided oss loading by checking vermagic of modules, but all modern kernels have ABI checksums enabled by default, so it's unneccesary. soundon checks for kernel upgrades by checking /lib/modules/$(uname -r) directory, so OSS will still automatically recompile upon kernel upgrade. The second patch contains some misc changes: A) Run ossdevlinks at soundoff to save legacy_devices then. Save /dev/dsp link as well. (This helps people who change default symlink not have it reset at boot). B) Make ossxmix a bit more resilient to USB device removals. C) setup/FreeBSD/build.sh should create /usr/lib/oss/include/internals on FreeBSD as well. D) srcconf.c: Use "-O3" instead of "-O6". It's the same for gcc, but clang/llvm complains. Also add a do { } while(0) loop to kernel/framework/include/oss_config.h to avoid clang warning. Yours, Yair K.
oss-misc.diff.gz
Description: GNU Zip compressed data
oss-remove_ossvermagic.diff.gz
Description: GNU Zip compressed data
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel