Bug 22291

Summary: Do not use __USE_GNU but _GNU_SOURCE
Product: Telepathy Reporter: Vincent Untz <vuntz>
Component: idleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: kees
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Trivial patch
Another patch, which compiles for wjt.

Description Vincent Untz 2009-06-15 02:18:27 UTC
Created attachment 26802 [details] [review]
Trivial patch

telepathy-idle doesn't compile with latest glibc.

See https://bugzilla.novell.com/show_bug.cgi?id=507930 for the background

Attaching a trivial patch.
Comment 1 Will Thompson 2009-06-20 10:26:50 UTC
Created attachment 26979 [details] [review]
Another patch, which compiles for wjt.

The attached patch doesn't actually compile for me:

idle-parser.c: In function ‘idle_parser_receive’:
idle-parser.c:210: error: implicit declaration of function ‘strnlen’

I assume this is because something else does #include <string.h> before the #define in idle-parser.c.

Could you check that this new patch (which compiles for me) works on openSUSE?
Comment 2 Vincent Untz 2009-06-20 10:43:04 UTC
Ugh, sorry, I fixed the patch here, but forgot to attach the new version...
Comment 3 Will Thompson 2009-06-20 11:12:03 UTC
NP. I've pushed the fix to master; thanks!
Comment 4 Kees Cook 2009-10-10 10:29:29 UTC
*** Bug 24443 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.