Re: [Plib-devel] Patches for FreeBSD
Brought to you by:
sjbaker
From: Martin S. <Mar...@un...> - 2004-12-30 17:40:50
|
Bert Driehuis wrote: > And here too, each change has to be evaluated individually. You cannot > make an omelet without breaking eggs, but even simple changes like the > "#include <netinet/in.h>" one will have to be announced on the list so > that people can be prepared for potential breakage, or have the chance > to recommend against the change. I agree. With this background one could start with committing the patches against src/js/jsBSD.cxx and src/sl/slPortability.h because these obviously don't touch anything else. I just realize that the patch against src/net/netMessage.h is obsolete, it's just a duplicate, forget about that (I wonder why I didn't realize earlier), the patch against src/net/netSocket.cxx could be en "#ifdef __FreeBSD__"'d in a similar way as already present in netMessage.h line 50. > glIsValidContext() fails when there is a mismatch in the pthread > implementation between different libraries used by Plib. By commenting > out this call, the application will start up even if conflicting pthread > libraries are being used. To my understanding (as far as I remember the Changelog) the issue of different thread libraries has been resolved with FreeBSD-5.3 As I already mentioned, I'll try next year. > In the case of FlightGear on FreeBSD, all of plib, simgear and > flightgear _must_ be built with the -pthread flag. I've not come round > to building the whole thing recently so I don't know how things are > currently (last time I tried, I gave up after some code in Flightgear > wouldn't build on FreeBSD 5.3, but I will try again soon). Some FlightGear people were so kind to commit several patches to Sim/FlightGear recently, current CVS builds right out of the box if you have a working OpenAL and PLIB (I typically use OpenAL from the FreeBSD ports and PLIB from CVS). Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- |