Copied from Bug 8303. Stock gsmlib 1.10 doesn't compile due to a missing #include. It also leaks file descriptors in certain situations. Patches included for both of these issues. Currently 1.11_pre030826 is marked as stable. This is incorrect. According to the author's homepage, 1.10 is still the most recent stable. 1.11_pre breaks some software such as gnome-phone-manager (http://usefulinc.com/software/phonemgr). Suggest adding this 1.10-r1 ebuild (and patches) as stable and making 1.11_pre030826 unstable again as it should be.
Created attachment 34038 [details] gsmlib-1.10-r1.ebuild Ebuild for 1.10 with two bugs fixed. This should be the current stable version - not 1.11_pre as in CVS.
Created attachment 34039 [details, diff] gsmlib-1.10-include-fix.patch Fix for a missing #include in gsmlib/gsm_unix_serial.cc
Created attachment 34040 [details, diff] gsmlib-1.10-fd-leak-fix.patch Fix for leaked file descriptors.
no need to cc me. i'm on the pda herd ;)
The latest pre-release is 040603. Like the current snapshot in portage it doesn't compile with gcc-3.4. 1.10 and -r1 has the same problem.
Can you attach the gcc 3.4 compiler output here? Using 3.3.3-r6 (latest stable in portage).. 1.10 doesn't compile due to a missing #include. 1.10-r1 with the #include fixed compiles and works fine. 1.11_pre030826 compiles, but this version breaks some apps that depend on it.
thanks for the patches and comments. i've put this in so that people have options regarding which gsmlib to use. gnome-phone-manager isn't in portage, so i'm not inclined to support it at the moment, but there's an open bug about it.