Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54993 - Fixed ebuild for gsmlib-1.10
Summary: Fixed ebuild for gsmlib-1.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo PDA project
URL: http://www.pxh.de/fs/gsmlib/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 02:49 UTC by Zach Bagnall
Modified: 2004-07-24 13:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gsmlib-1.10-r1.ebuild (gsmlib-1.10-r1.ebuild,733 bytes, text/plain)
2004-06-24 02:51 UTC, Zach Bagnall
Details
gsmlib-1.10-include-fix.patch (gsmlib-1.10-include-fix.patch,407 bytes, patch)
2004-06-24 02:52 UTC, Zach Bagnall
Details | Diff
gsmlib-1.10-fd-leak-fix.patch (gsmlib-1.10-fd-leak-fix.patch,2.26 KB, patch)
2004-06-24 02:54 UTC, Zach Bagnall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zach Bagnall 2004-06-24 02:49:10 UTC
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.
Comment 1 Zach Bagnall 2004-06-24 02:51:40 UTC
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.
Comment 2 Zach Bagnall 2004-06-24 02:52:52 UTC
Created attachment 34039 [details, diff]
gsmlib-1.10-include-fix.patch

Fix for a missing #include in gsmlib/gsm_unix_serial.cc
Comment 3 Zach Bagnall 2004-06-24 02:54:36 UTC
Created attachment 34040 [details, diff]
gsmlib-1.10-fd-leak-fix.patch

Fix for leaked file descriptors.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-06-25 20:20:37 UTC
no need to cc me. i'm on the pda herd ;)
Comment 5 Anders Rune Jensen (RETIRED) gentoo-dev 2004-06-30 09:06:50 UTC
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. 
Comment 6 Zach Bagnall 2004-07-01 03:05:27 UTC
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.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2004-07-24 13:44:43 UTC
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.