Patch for the new glib version

Daniel Krueger <[email protected]> Mon, 30 Apr 2012 13:18:55 +0200
Newsgroups gmane.lisp.guile.gtk
Message-ID <CAAh5vONHEpFzynLGwTc8hYT5cnE1evNT9aseL12W20mt+jWfkw@mail.gmail.com>
Hi,

in the new glib version they won't let you include some libs directly,
you have to include glib.h instead. Here's the patch.

- Daniel

_______________________________________________
guile-gtk-general mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/guile-gtk-general
glib.patch (application/octet-stream, 1.3 KB)
diff -crB guile-gnome-platform/corba/gnome/corba/guile-gnome-corba-generic.c guile-gnome-platform-fix/corba/gnome/corba/guile-gnome-corba-generic.c
*** guile-gnome-platform/corba/gnome/corba/guile-gnome-corba-generic.c	2012-04-27 12:15:58.343294119 +0200
--- guile-gnome-platform-fix/corba/gnome/corba/guile-gnome-corba-generic.c	2012-04-27 12:39:06.079895874 +0200
***************
*** 24,30 ****
  
  #include <guile-gnome-corba-generic.h>
  #include <guile-gnome-gobject.h>
! #include <glib/gstrfuncs.h>
  #include <string.h>
  
  static GQuark quark_corba_typecode = 0;
--- 24,30 ----
  
  #include <guile-gnome-corba-generic.h>
  #include <guile-gnome-gobject.h>
! #include <glib.h>
  #include <string.h>
  
  static GQuark quark_corba_typecode = 0;
diff -crB guile-gnome-platform/glib/gnome/gobject/guile-support.h guile-gnome-platform-fix/glib/gnome/gobject/guile-support.h
*** guile-gnome-platform/glib/gnome/gobject/guile-support.h	2012-04-27 12:15:58.393294117 +0200
--- guile-gnome-platform-fix/glib/gnome/gobject/guile-support.h	2012-04-27 12:40:57.793223982 +0200
***************
*** 24,30 ****
  #ifndef __GUILE_SUPPORT_H__
  #define __GUILE_SUPPORT_H__
  
! #include <glib/gmacros.h>
  
  #include <libguile.h>
  
--- 24,30 ----
  #ifndef __GUILE_SUPPORT_H__
  #define __GUILE_SUPPORT_H__
  
! #include <glib.h>
  
  #include <libguile.h>