public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/mico/2.3.13: 011_all_gtk-check-stdlib.patch
@ 2011-05-26  9:15 Michael Haubenwallner (haubi)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Haubenwallner (haubi) @ 2011-05-26  9:15 UTC (permalink / raw
  To: gentoo-commits

haubi       11/05/26 09:15:19

  Added:                011_all_gtk-check-stdlib.patch
  Log:
  fix gtk version check with recent gcc

Revision  Changes    Path
1.1                  src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch

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
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

Index: 011_all_gtk-check-stdlib.patch
===================================================================
Recent gcc is more strict against undeclared function calls
like system() and exit(), breaking gtk version check.
--- aclocal.m4.orig	2011-05-25 16:55:15.609086191 +0200
+++ aclocal.m4	2011-05-25 16:55:22.999136294 +0200
@@ -765,6 +765,7 @@
       AC_TRY_RUN([
 #include <gtk/gtk.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 int 
 main ()






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo commit in src/patchsets/mico/2.3.13: 011_all_gtk-check-stdlib.patch
@ 2011-06-28 15:03 Michael Haubenwallner (haubi)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Haubenwallner (haubi) @ 2011-06-28 15:03 UTC (permalink / raw
  To: gentoo-commits

haubi       11/06/28 15:03:34

  Modified:             011_all_gtk-check-stdlib.patch
  Log:
  add reference to upstream patch report, additionally fix signed-unsigned-comparison warning like in upstream patch report

Revision  Changes    Path
1.2                  src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch?r1=1.1&r2=1.2

Index: 011_all_gtk-check-stdlib.patch
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/mico/2.3.13/011_all_gtk-check-stdlib.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 011_all_gtk-check-stdlib.patch	26 May 2011 09:15:19 -0000	1.1
+++ 011_all_gtk-check-stdlib.patch	28 Jun 2011 15:03:34 -0000	1.2
@@ -1,5 +1,8 @@
 Recent gcc is more strict against undeclared function calls
 like system() and exit(), breaking gtk version check.
+Also fix signed-unsigned-comparison warning.
+
+http://sourceforge.net/mailarchive/forum.php?thread_name=4DDFA182.40903%40gentoo.org&forum_name=mico-devel
 --- aclocal.m4.orig	2011-05-25 16:55:15.609086191 +0200
 +++ aclocal.m4	2011-05-25 16:55:22.999136294 +0200
 @@ -765,6 +765,7 @@
@@ -10,3 +13,9 @@
  
  int 
  main ()
+ {
+-  int major, minor, micro;
++  guint major, minor, micro;
+ 
+   system ("touch conf.gtktest");
+ 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-28 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 15:03 [gentoo-commits] gentoo commit in src/patchsets/mico/2.3.13: 011_all_gtk-check-stdlib.patch Michael Haubenwallner (haubi)
  -- strict thread matches above, loose matches on Subject: below --
2011-05-26  9:15 Michael Haubenwallner (haubi)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox