[ scummvm-Patches-862283 ] A patch that allows compiling X11 backend on FreeBSD

SourceForge.net noreply at sourceforge.net
Thu Dec 18 15:29:38 CET 2003


Patches item #862283, was opened at 2003-12-18 16:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=862283&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Markus Niemistö (niemisto)
Assigned to: Nobody/Anonymous (nobody)
Summary: A patch that allows compiling X11 backend on FreeBSD

Initial Comment:
In file backends/x11/x11.cpp you included linux/soundcard.h. AFAIK 
Linux is the only system that puts any headers under linux/. So I made a 
little #ifdef modification that makes all other systems to include file 
sys/soundcard.h.

There is in fact another problem in the same file near line 1030 or so 
in method OSystem_X11::set_timer(): you use value timer that is not 
defined anywhere (at least on FreeBSD). I tried to replace it with the 
methods parameter interval but didn't include it in this patch because I 
think it may be wrong.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=862283&group_id=37116




More information about the Scummvm-tracker mailing list