Yair K. kirjoitti:
> 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 vermagic stuff was not for 2.4.x kernels but for 2.6.x. It may not 
be required by the very latest Linux kernel versions. However kernels 
around 2.6.15 required it.

I'm not willing to apply this patch to v4.2 so it must wait couple of 
months until v4.3 is started.
>   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.
>
>   
Ok. Applied. However I didn't do the change that replaced "rm -f x;ln -s 
y x" by "rm -sf". All operating systems still don't support "ln -f" 
properly.

Best regards,

Hannu
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to