FS#10989 - gamin ABS does not compile with latest version of gcc

Attached to Project: Community Packages
Opened by Bruno Widmann (bwid) - Wednesday, 23 July 2008, 06:16 GMT
Last edited by Abhishek Dasgupta (abhidg) - Monday, 28 July 2008, 13:20 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Abhishek Dasgupta (abhidg)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The build fails with: gam_api.c:715: error: storage size of 'cr' isn't known

This can be fixed by adding -D_GNU_SOURCE to the CFLAGS:
--- configure.orig 2007-07-27 16:27:34.000000000 +0200
+++ configure 2008-07-21 01:21:04.000000000 +0200
@@ -23410,7 +23410,7 @@
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
CFLAGS="\
- -Wall\
+ -Wall -D_GNU_SOURCE\
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes\
-Wnested-externs\
-Wsign-compare"


See the gentoo bugreport: http://bugs.gentoo.org/show_bug.cgi?id=225403

Upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=534942
Nobody has commented there yet on how to fix it, though.


Additional info:
* package version(s)
0.1.9
This task depends upon

Closed by  Abhishek Dasgupta (abhidg)
Monday, 28 July 2008, 13:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  Applied patch in gamin 0.1.9-4

Loading...