Gentoo Archives: gentoo-commits

From: "Michael Haubenwallner (haubi)" <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/mico/2.3.13: 011_all_gtk-check-stdlib.patch
Date: Thu, 26 May 2011 09:16:46
Message-Id: 20110526091519.CA4DD20054@flycatcher.gentoo.org
1 haubi 11/05/26 09:15:19
2
3 Added: 011_all_gtk-check-stdlib.patch
4 Log:
5 fix gtk version check with recent gcc
6
7 Revision Changes Path
8 1.1 src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch?rev=1.1&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch?rev=1.1&content-type=text/plain
12
13 Index: 011_all_gtk-check-stdlib.patch
14 ===================================================================
15 Recent gcc is more strict against undeclared function calls
16 like system() and exit(), breaking gtk version check.
17 --- aclocal.m4.orig 2011-05-25 16:55:15.609086191 +0200
18 +++ aclocal.m4 2011-05-25 16:55:22.999136294 +0200
19 @@ -765,6 +765,7 @@
20 AC_TRY_RUN([
21 #include <gtk/gtk.h>
22 #include <stdio.h>
23 +#include <stdlib.h>
24
25 int
26 main ()