Bug 22291 - Do not use __USE_GNU but _GNU_SOURCE
Summary: Do not use __USE_GNU but _GNU_SOURCE
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: idle (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
: 24443 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-15 02:18 UTC by Vincent Untz
Modified: 2009-10-10 10:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Trivial patch (792 bytes, patch)
2009-06-15 02:18 UTC, Vincent Untz
Details | Splinter Review
Another patch, which compiles for wjt. (1.57 KB, patch)
2009-06-20 10:26 UTC, Will Thompson
Details | Splinter Review

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.