Haai, When using Slackware Lunix 10.2 (kernel version 2.4.31), Quake's CD audio does not seem to work, thanks to the rather ungeneric and otherwise broken kernel interface which has a habit of rejecting system calls whenever it feels like it. Using some stolen code from WorkBone (Lunix-centric cdda player), which is also licensed under the GPL, I have managed to throw together a quick-and-dirty hack which uses a different access strategy; this has solved said problem here. Since I prefer a more generic solution, which probably won't be appropriate for the tree, I've decided to release a patch now instead of polishing it further myself. Issues: 1) Rude merge of WorkBone code; 2) Very probably breaks non-Lunix builds; 3) Patch-time access strategy selection; 4) Mangled, obsolete, and/or absent comments; 5) Probably won't build on other versions and/or distributions of Lunix either. Notes: 1) Debug messages on by default -- see 'void Con_DPrintf' in 'work/winquake/console.c'; 2) patch(1) with '-p1'; 3) Depends on pkgsrc patches. Baai, De Zeurkous ----------- Friggin' Machines!
Attachment:
quake-lunix-cdding.patch.gz
Description: application/gzip